otcv8-dev
otcv8-dev copied to clipboard
Does not walk smooth on creating ground tiles before step
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
can be easly fixed using 3x3 area instead of 1x1