We did that on erivyn except the boss would enrage and start casting death touch every 1 second.. rather than pulling the other dragons heh.
Code:
sub EVENT_COMBAT {
if($combat_state == 1) {
if ($entity_list->IsMobSpawnedByNpcTypeID(108053) || #Xygoz
$entity_list->IsMobSpawnedByNpcTypeID(108040) || #Druushk
$entity_list->IsMobSpawnedByNpcTypeID(108047) || #Nexona
$entity_list->IsMobSpawnedByNpcTypeID(108043) || #Hoshkar
$entity_list->IsMobSpawnedByNpcTypeID(108050)) { #Silverwing
#We skipped a boss.. time to die..
$npc->AddAISpell(0, 7478, 1, -1, 1, -3000);
quest::we(262, "Phara Dar shouts 'Foolish mortals, I am immortal with the power of my dragonkin!'");
} else {
quest::shout("My dragons have been defeated, but you will never defeat me!");
}
} else {
$npc->RemoveAISpell(7478);
$npc->Heal();
quest::setnexthpevent(80);
quest::signal(108518);
}
}
Spell ID 7478 - if an AOE DT.. so it pretty much wipes out everyone who tries to skip the other dragons :p