finish shatted isles quest

This commit is contained in:
ErikasKontenis
2019-12-12 15:47:57 +02:00
parent 2169339d84
commit e415a533a4
25 changed files with 440 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
function onStepIn(creature, item, position, fromPosition)
local player = creature:getPlayer()
if not player then
return true
end
if player:getStorageValue(17511) ~= 1 then
player:setStorageValue(17511, 1)
return true
end
doRelocate(item:getPosition(),{x = 31948, y = 32554, z = 08})
item:getPosition():sendMagicEffect(11)
Game.sendMagicEffect({x = 31948, y = 32554, z = 08}, 11)
end
function onAddItem(item, tileitem, position)
doRelocate(item:getPosition(),{x = 31948, y = 32554, z = 08})
item:getPosition():sendMagicEffect(11)
Game.sendMagicEffect({x = 31948, y = 32554, z = 08}, 11)
end