mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-29 07:46:52 +01:00
Full Distribution
This commit is contained in:
6
data/actions/scripts/misc/open_trap.lua
Normal file
6
data/actions/scripts/misc/open_trap.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
item:transform(3481, 1)
|
||||
item:decay()
|
||||
item:getPosition():sendMagicEffect(3)
|
||||
return true
|
||||
end
|
||||
Reference in New Issue
Block a user