Try this:
Code:
#Kaldra
#zone - Kod`Taz
#quest - Final Event
sub EVENT_SPAWN {
quest::shout("WHO DARES CHALLENGE ME? I AM THE FINAL ARBITER OF MOLIMO, YOUR QUEST ENDS HERE, MORTALS!");
quest::setnexthpevent(70);
}
sub EVENT_ATTACK {
quest::spawn(291096,0,0,($x-10),$y,$z);
quest::spawn(291096,0,0,($x+10),$y,$z);
quest::spawn(291096,0,0,($x-20),$y,$z);
quest::spawn(291096,0,0,($x+20),$y,$z);
quest::spawn(291096,0,0,$x,($y+10),$z);
}
sub EVENT_HP {
if($hpevent == 70) {
firstevent();
}
if($hpevent == 30) {
secondevent();
}
}
sub EVENT_DEATH {
quesT::shout("I underestimated you, Mortals. Very well, though you have bested me, Molimo will not relinquish his throne.");
}
sub firstevent {
quest::selfcast(3150);
quest::setnexthpevent(30);
}
sub secondevent {
quest::spawn(281097,0,0,($x-20),$y,$z);
quest::spawn(281097,0,0,($x+20),$y,$z);
}
Apologies if I missed an error somewhere that could be causing it, but I'm tired heh.