mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-15 06:54:54 +02:00
Full Distribution
This commit is contained in:
12
data/actions/scripts/misc/spectral_stone.lua
Normal file
12
data/actions/scripts/misc/spectral_stone.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
if target:getId() == 599 and toPosition.x == 32665 and toPosition.y == 32736 and toPosition.z == 06 and player:getStorageValue(320) == 5 then
|
||||
player:setStorageValue(321,1)
|
||||
target:getPosition():sendMagicEffect(13)
|
||||
return true
|
||||
elseif target:getId() == 599 and toPosition.x == 32497 and toPosition.y == 31622 and toPosition.z == 06 and player:getStorageValue(320) == 5 then
|
||||
player:setStorageValue(322,1)
|
||||
target:getPosition():sendMagicEffect(13)
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
Reference in New Issue
Block a user