First commit
This commit is contained in:
10
app/SabrehavenServer/data/actions/scripts/nostalrius/76.lua
Normal file
10
app/SabrehavenServer/data/actions/scripts/nostalrius/76.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
if player:getStorageValue(259) == 2 then
|
||||
item:getPosition():sendMagicEffect(25)
|
||||
player:setStorageValue(259,3)
|
||||
else
|
||||
item:getPosition():sendMagicEffect(25)
|
||||
player:setStorageValue(259,0)
|
||||
end
|
||||
return true
|
||||
end
|
||||
Reference in New Issue
Block a user