mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
Full Distribution
This commit is contained in:
15
data/movements/scripts/nostalrius/29.lua
Normal file
15
data/movements/scripts/nostalrius/29.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() and creature:getPlayer():isSorcerer() and Game.isItemThere({x = 32679, y = 32089, z = 08}, 3059) then
|
||||
item:transform(430, 1)
|
||||
item:decay()
|
||||
end
|
||||
end
|
||||
|
||||
function onStepOut(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() then
|
||||
item:transform(431, 1)
|
||||
item:decay()
|
||||
doRelocate({x = 32692, y = 32102, z = 10},{x = 32691, y = 32102, z = 10})
|
||||
Game.createItem(1281, 1, {x = 32692, y = 32102, z = 10})
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user