I got it working by the way, i found a missing bracket
Code:
#azog mon
sub EVENT_HP {
if($hpevent == 98)
{
$npc->NPCSpecialAttacks(DIMUCNfAB, 0);
quest::settimer("SpawnAcolytes", 120);
quest::spawn2(2700252, 0, 0, $x + 10, $y + 10, $z, 0);
quest::spawn2(2700252, 0, 0, $x - 10, $y - 10, $z, 0);
quest::spawn2(2700252, 0, 0, $x + 10, $y - 10, $z, 0);
quest::setnexthpevent(25);
}
if($hpevent == 25)
{
$npc->NPCSpecialAttacks(DIMUCNf, 0);
quest::stoptimer("SpawnAcolytes");
}
}
sub EVENT_SPAWN {
quest::setnexthpevent(98);
}
sub EVENT_TIMER {
if ($timer == "SpawnAcolytes")
{
quest::spawn2(2700252, 0, 0, $x + 10, $y + 10, $z, 0);
quest::spawn2(2700252, 0, 0, $x - 10, $y - 10, $z, 0);
quest::spawn2(2700252, 0, 0, $x + 10, $y - 10, $z, 0);
quest::settimer("SpawnAcolytes", 120);
}
}
sub EVENT_SIGNAL {
quest::shout("Signal Sent");
$npc->SetHP(-100000); #damage azog mon by 5%
}