monsters = {
--["monste name"] = {["summon name"] = {pos = {x, y, z}, delay = milisegundos},
["The Axeorcist"] = {
["Menace"] = {pos = {x=1141, y=863, z=3}, delay = 2000},
["Fatality"] = {pos = {x=1141, y=866, z=3}, delay = 2000}
},
["Fatality"] = {
["Coldheart"] = {pos = {x=1141, y=863, z=3}, delay = 2000},
["Incineron"] = {pos = {x=1141, y=866, z=3}, delay = 2000}
},
["Incineron"] = {
["Coldheart"] = {pos = {x=1141, y=863, z=3}, delay = 2000},
["Incineron"] = {pos = {x=1141, y=866, z=3}, delay = 2000}
},
["Incineron"] = {
["Dreadwing"] = {pos = {x=1141, y=863, z=3}, delay = 2000},
["Doomhowl"] = {pos = {x=1141, y=866, z=3}, delay = 2000}
},
["Incineron"] = {
["Haunter"] = {pos = {x=1141, y=863, z=3}, delay = 2000},
["The Dreadorian"] = {pos = {x=1141, y=866, z=3}, delay = 2000}
},
["The Dreadorian"] = {
["Rocko"] = {pos = {x=1141, y=863, z=3}, delay = 2000},
["Tremorak"] = {pos = {x=1141, y=866, z=3}, delay = 2000},
["Tirecz"] = {pos = {x=1141, y=866, z=3}, delay = 30000}
}
}
function onDeath(cid, corpse, killer)
local summons = monsters[getCreatureName(cid)]
if summons then
for i, v in pairs(summons) do
addEvent(doSummonCreature, v.delay, i, v.pos)
end
end
return TRUE
end