2025-02-26 13:42:34 +01:00

13 lines
309 B
Lua

function onUse(player, item, fromPosition, target, toPosition)
if not target:isItem() then
return false
end
if target:getId() == 5662 and Game.isItemThere({x = 33024, y = 32672, z = 6}, 5662) then
item:transform(5939, 1)
target:getPosition():sendMagicEffect(2)
return true
end
return false
end