mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-30 08:06:51 +01:00
Full Distribution
This commit is contained in:
11
data/movements/scripts/nostalrius/191.lua
Normal file
11
data/movements/scripts/nostalrius/191.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() and creature:getPlayer():getStorageValue(8) == 1 and creature:getPlayer():getStorageValue(9) == 0 then
|
||||
creature:getPlayer():setStorageValue(9,1)
|
||||
doRelocate(item:getPosition(),{x = 32268, y = 31856, z = 15})
|
||||
Game.sendMagicEffect({x = 32268, y = 31856, z = 15}, 14)
|
||||
else
|
||||
doRelocate(item:getPosition(),{x = 32191, y = 31938, z = 14})
|
||||
Game.sendMagicEffect({x = 32191, y = 31938, z = 14}, 1)
|
||||
doTargetCombatHealth(0, creature, COMBAT_FIREDAMAGE, -55, -55)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user