2019-01-16 17:16:38 -05:00

12 lines
491 B
Lua

function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and not creature:getPlayer():isPremium() then
doRelocate(item:getPosition(),{x = item:getPosition().x + 3, y = item:getPosition().y, z = 07})
Game.sendMagicEffect(item:getPosition(), 13)
end
end
function onAddItem(item, tileitem, position)
doRelocate(tileitem:getPosition(),{x = tileitem:getPosition().x + 3, y = tileitem:getPosition().y, z = 07})
Game.sendMagicEffect(tileitem:getPosition(), 13)
end