mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
Full Distribution
This commit is contained in:
11
data/movements/scripts/nostalrius/62.lua
Normal file
11
data/movements/scripts/nostalrius/62.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() and creature:getPlayer():getLevel() < 2 then
|
||||
doRelocate(item:getPosition(),{x = item:getPosition().x - 1, y = 32176, z = 07})
|
||||
Game.sendMagicEffect({x = item:getPosition().x - 1, y = 32176, z = 07}, 13)
|
||||
end
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(tileitem:getPosition(),{x = tileitem:getPosition().x - 1, y = 32176, z = 07})
|
||||
Game.sendMagicEffect({x = tileitem:getPosition().x - 1, y = 32176, z = 07}, 13)
|
||||
end
|
Reference in New Issue
Block a user