View Single Post
  #12  
Old 04-19-2009, 01:03 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

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
Reply With Quote