Full Distribution

This commit is contained in:
rasanpedromujica
2019-01-16 17:16:38 -05:00
commit 009a571331
1258 changed files with 185603 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() and creature:getPlayer():getStorageValue(6) == 0 then
Game.createItem(2121, 1, {x = 32171, y = 31854, z = 15})
Game.createItem(2121, 1, {x = 32170, y = 31854, z = 15})
creature:getPlayer():setStorageValue(6,1)
doRelocate(item:getPosition(),{x = 32272, y = 31849, z = 15})
Game.sendMagicEffect({x = 32272, y = 31849, z = 15}, 14)
Game.createItem(2121, 1, {x = 32172, y = 31854, z = 15})
Game.createItem(2121, 1, {x = 32170, y = 31855, z = 15})
Game.createItem(2121, 1, {x = 32171, y = 31855, z = 15})
Game.createItem(2121, 1, {x = 32172, y = 31855, z = 15})
Game.createItem(2121, 1, {x = 32170, y = 31856, z = 15})
Game.createItem(2121, 1, {x = 32171, y = 31856, z = 15})
Game.createItem(2121, 1, {x = 32172, y = 31856, z = 15})
doTargetCombatHealth(0, creature, COMBAT_EARTHDAMAGE, -33, -33)
else
doRelocate(item:getPosition(),{x = 32171, y = 31854, z = 15})
Game.sendMagicEffect({x = 32171, y = 31854, z = 15}, 1)
doTargetCombatHealth(0, creature, COMBAT_EARTHDAMAGE, -155, -155)
end
end