here dude, a event Hp i made to have 5 spawns when a mob reaches a certain % of hp, it works, so this may give you some idea's
sub EVENT_ATTACK {
quest::shout("WHO DARES CHALLENGE ME? I AM THE LESSER OVERKING!!, YOUR QUEST ENDS HERE, MORTALS!");
quest::spawn(189142,0,0,($x-10),$y,$z);
quest::spawn(189142,0,0,($x+10),$y,$z);
quest::spawn(189142,0,0,($x-20),$y,$z);
quest::spawn(189142,0,0,($x+20),$y,$z);
quest::spawn(189142,0,0,$x,($y+10),$z);
}
sub EVENT_HP {
if($hpevent == 70) {
firstevent();
}
if($hpevent == 30) {
secondevent();
}
}
__________________
From The Biggest tool ever
Server Op of A server in development! =D
formerly A fire inside
|