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