Code:
sub EVENT_SPAWN{
quest::attacknpctype(1211);
quest::setnexthpevent(75);
}
sub EVENT_HP{
if ($hpevent <=75){
quest::spawn(1210,0,0,76,11,0.50);
quest::setnexthpevent(25);
}
if ($hpevent <=25){
quest::spawn(1232,0,0,76,11,0.50);
}
}
sub EVENT_DEATH{
quest::spawn(1209,0,0,76,11,0.50);
}
For some reason when the monster gets to 25%, he summons two monsters. I do not know why