First commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
if Tile(item:getPosition()):hasFlag(TILESTATE_PROTECTIONZONE) then
|
||||
item:getPosition():sendMagicEffect(3)
|
||||
else
|
||||
item:transform(3482, 1)
|
||||
item:decay()
|
||||
end
|
||||
return true
|
||||
end
|
||||
Reference in New Issue
Block a user