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/153.lua
Normal file
11
data/movements/scripts/nostalrius/153.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() and creature:getPlayer():getStorageValue(293) >= 17 then
|
||||
doRelocate(item:getPosition(),{x = 32748, y = 32537, z = 10})
|
||||
item:getPosition():sendMagicEffect(21)
|
||||
Game.sendMagicEffect({x = 32748, y = 32537, z = 10}, 21)
|
||||
elseif creature:isPlayer() and creature:getPlayer():getStorageValue(293) < 17 then
|
||||
doRelocate(item:getPosition(),{x = 32839, y = 32532, z = 09})
|
||||
item:getPosition():sendMagicEffect(21)
|
||||
Game.sendMagicEffect({x = 32839, y = 32532, z = 09}, 21)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user