mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
Full Distribution
This commit is contained in:
27
data/movements/scripts/nostalrius/190.lua
Normal file
27
data/movements/scripts/nostalrius/190.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() and creature:getPlayer():getStorageValue(7) == 0 and Game.isItemThere({x = 32214, y = 31850, z = 15}, 2113) then
|
||||
doRelocate(item:getPosition(),{x = 32271, y = 31857, z = 15})
|
||||
creature:getPlayer():setStorageValue(7,1)
|
||||
Game.sendMagicEffect({x = 32271, y = 31857, z = 15}, 14)
|
||||
Game.sendMagicEffect({x = 32217, y = 31846, z = 14}, 12)
|
||||
Game.sendMagicEffect({x = 32215, y = 31844, z = 14}, 12)
|
||||
Game.sendMagicEffect({x = 32215, y = 31846, z = 14}, 12)
|
||||
Game.sendMagicEffect({x = 32217, y = 31847, z = 14}, 12)
|
||||
Game.sendMagicEffect({x = 32213, y = 31847, z = 14}, 12)
|
||||
Game.sendMagicEffect({x = 32217, y = 31848, z = 14}, 12)
|
||||
Game.sendMagicEffect({x = 32215, y = 31848, z = 14}, 12)
|
||||
Game.createItem(2122, 1, {x = 32215, y = 31848, z = 15})
|
||||
Game.transformItemOnMap({x = 32214, y = 31850, z = 15}, 2113, 2114)
|
||||
Game.transformItemOnMap({x = 32215, y = 31850, z = 15}, 2113, 2114)
|
||||
Game.transformItemOnMap({x = 32216, y = 31850, z = 15}, 2113, 2114)
|
||||
Game.transformItemOnMap({x = 32220, y = 31842, z = 15}, 2772, 2773)
|
||||
Game.transformItemOnMap({x = 32220, y = 31843, z = 15}, 2772, 2773)
|
||||
Game.transformItemOnMap({x = 32220, y = 31844, z = 15}, 2772, 2773)
|
||||
Game.transformItemOnMap({x = 32220, y = 31845, z = 15}, 2772, 2773)
|
||||
Game.transformItemOnMap({x = 32220, y = 31846, z = 15}, 2772, 2773)
|
||||
else
|
||||
doRelocate(item:getPosition(),{x = 32215, y = 31848, z = 15})
|
||||
Game.sendMagicEffect({x = 32215, y = 31848, z = 15}, 1)
|
||||
doTargetCombatHealth(0, creature, COMBAT_FIREDAMAGE, -55, -55)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user