mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-16 07:14:55 +02:00
Full Distribution
This commit is contained in:
14
data/actions/scripts/misc/ectoplasm_container.lua
Normal file
14
data/actions/scripts/misc/ectoplasm_container.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
if not target:isItem() then
|
||||
return false
|
||||
end
|
||||
|
||||
if target:getId() == 4094 then
|
||||
item:transform(4853, 1)
|
||||
item:decay()
|
||||
target:getPosition():sendMagicEffect(12)
|
||||
item:getPosition():sendMagicEffect(13)
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
Reference in New Issue
Block a user