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,17 @@
function onStepIn(creature, item, position, fromPosition)
if Game.isItemThere({x = 32180, y = 31871, z = 15},3027) and Game.isItemThere ({x = 32173, y = 31871, z = 15},3026) then
doRelocate({x = 32177, y = 31869, z = 15},{x = 32177, y = 31863, z = 15})
Game.sendMagicEffect({x = 32176, y = 31870, z = 15}, 11)
Game.removeItemOnMap({x = 32173, y = 31871, z = 15}, 3026)
Game.removeItemOnMap({x = 32180, y = 31871, z = 15}, 3027)
Game.sendMagicEffect({x = 32173, y = 31871, z = 15}, 3)
Game.sendMagicEffect({x = 32180, y = 31871, z = 15}, 3)
else
doRelocate({x = 32177, y = 31869, z = 15},{x = 32177, y = 31870, z = 15})
doTargetCombatHealth(0, creature, COMBAT_POISONDAMAGE, -100, -100)
end
end
function onAddItem(item, tileitem, position)
doRelocate({x = 32177, y = 31869, z = 15},{x = 32177, y = 31870, z = 15})
end