Bug fix related to Dipthrath Tomb

This bug was recently discovered in nostalrius.com.br, how did I miss such a small detail?! OH GOD!
This commit is contained in:
rasanpedromujica 2019-01-16 22:24:06 -05:00
parent cf6950dea1
commit 154d82a9c2

View File

@ -3,7 +3,7 @@ function onStepIn(creature, item, position, fromPosition)
doRelocate(item:getPosition(),{x = 33349, y = 32830, z = 14}) doRelocate(item:getPosition(),{x = 33349, y = 32830, z = 14})
item:getPosition():sendMagicEffect(11) item:getPosition():sendMagicEffect(11)
Game.sendMagicEffect({x = 33349, y = 32830, z = 14}, 11) Game.sendMagicEffect({x = 33349, y = 32830, z = 14}, 11)
player:removeItem(3238, 1) creature:getPlayer():removeItem(3238, 1)
else else
doRelocate(item:getPosition(),{x = 33280, y = 32740, z = 10}) doRelocate(item:getPosition(),{x = 33280, y = 32740, z = 10})
item:getPosition():sendMagicEffect(11) item:getPosition():sendMagicEffect(11)