Skip to content

Does not walk smooth on creating ground tiles before step #30

@robpot95

Description

@robpot95

Hi,

I have a script that create a ground tile when a player step on empty tile. But in OTCv8, the player get delayed when walking into the tile. While vanilla client is walking smooth. TFS 1.3

function onMove(player, fromPosition, toPosition)
	local tile = Tile(toPosition)
	if not tile or not tile:getGround() then
		doAreaCombatHealth(0, 0, toPosition, 0, 0, 0, CONST_ME_NONE)
        	Game.createItem(106, 1, toPosition)
	end

	return true
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions