Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2015, 02:55 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 516
Default

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:16 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3