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