From b7f2b3b077247d5ef80fb48e423448685eb7630b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 14 Jul 2018 13:36:39 -0300 Subject: [skip ci] fix bugs. Cooldown is broken --- npc/001-1/eventmaster.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'npc/001-1') diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt index 71d83f011..42860584e 100644 --- a/npc/001-1/eventmaster.txt +++ b/npc/001-1/eventmaster.txt @@ -893,7 +893,17 @@ OnCall: end; } - areamonster("001-1", 171, 0, 339, 158, strmobinfo(1, atoi(.@atcmd_parameters$[0])), atoi(.@atcmd_parameters$[0]), atoi(.@atcmd_parameters$[1]), "Mana Being#001-1::OnAerosMobDeath"); + switch($@AEROS_SPWN) { + case 1: + areamonster("001-1", 20, 20, 140, 140, strmobinfo(1, atoi(.@atcmd_parameters$[0])), atoi(.@atcmd_parameters$[0]), atoi(.@atcmd_parameters$[1]), "Mana Being#001-1::OnAerosMobDeath"); + break; + case 2: + areamonster("001-1", 20, 20, 340, 160, strmobinfo(1, atoi(.@atcmd_parameters$[0])), atoi(.@atcmd_parameters$[0]), atoi(.@atcmd_parameters$[1]), "Mana Being#001-1::OnAerosMobDeath"); + break; + default: + areamonster("001-1", 171, 320, 158, 340, strmobinfo(1, atoi(.@atcmd_parameters$[0])), atoi(.@atcmd_parameters$[0]), atoi(.@atcmd_parameters$[1]), "Mana Being#001-1::OnAerosMobDeath"); + break; + } logmes "@aeros "+strmobinfo(1, atoi(.@atcmd_parameters$[0])) + " " + .@atcmd_parameters$[1], LOGMES_ATCOMMAND; dispbottom "All monsters summoned."; -- cgit v1.2.3-60-g2f50