Date:
07.08.2015 - 14:54:57
Author:
Rewrite:
Type here:
-- Dice Arena Event criado por Killua, XTibia.com dice_cfg = { positions_ = {{x = 164, y = 17, z = 7}, {x = 164, y = 18, z = 7}}, arena_pos = {x = 501, y = 141, z = 7}, wait_ = 60*60*24, max_time = 1800, numbers = { [1] = {"Orshabaal", "Morgaroth", "Ferumbras"}, [2] = {"Demodras", "Juggernaut"}, [3] = {"Demon", "Behemoth"}, [4] = {"Dragon Lord", "Hydra"}, [5] = {"Dragon", "Cyclops"}, [6] = {"Rotworm", "Rat"} }, noob_item = {2158, 10}, pro_item = {2160, 5}, arena_frompos = {x = 491, y = 125, z = 7}, arena_topos = {x = 512, y = 144, z = 7} } function removeDiceMonsters() for x = dice_cfg.arena_frompos.x, dice_cfg.arena_topos.x do for y = dice_cfg.arena_frompos.y, dice_cfg.arena_topos.y do local area_ = {x = x, y = y, z = dice_cfg.arena_frompos.z} local creature = getTopCreature(area_) if isMonster(creature.uid) then doRemoveCreature(creature.uid) end end end end