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

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 05-11-2011, 10:41 PM
Astal
Hill Giant
 
Join Date: Mar 2010
Posts: 236
Default

Quote:
Originally Posted by Shamanistik08 View Post
Code:
#azog mon

sub EVENT_HP {

	if($hpevent == 98)
	{
			$npc->NPCSpecialAttacks(DIMUCNfAB, 0);
			quest::settimer("SpawnAcolytes", 120);
			quest::spawn2(999454, 0, 0, $x + 10, $y + 10, $z, 0);
			quest::spawn2(999454, 0, 0, $x - 10, $y - 10, $z, 0);
			quest::spawn2(999454, 0, 0, $x + 10, $y - 10, $z, 0);
			plugin::AERampageEffect(100);
			quest::settimer("Rampage", 10);
	}
}

sub EVENT_SPAWN {
	quest::setnexthpevent(98);
}

sub EVENT_TIMER {

if ($timer == "SpawnAcolytes")
	{
		quest::stoptimer("SpawnAcolytes");
		quest::spawn2(999454, 0, 0, $x + 10, $y + 10, $z, 0);
		quest::spawn2(999454, 0, 0, $x - 10, $y - 10, $z, 0);
		quest::spawn2(999454, 0, 0, $x + 10, $y - 10, $z, 0);
		quest::settimer("SpawnAcolytes", 120);
	}
	
if ($timer == "Rampage")
	{
		quest::stoptimer("Rampage");
		plugin::AERampageEffect(100);
		quest::settimer("Rampage", 10);
	}
}

sub EVENT_SAY {				

		if($text=~/Hail/i) {
		quest::shout("Test");
		}	
		
}
I didn't test it, but I think the errors might come from that. Also probably possible to do it more simple. but I think it should works.
Also I am not sure why don't put the special attacks directly on mob.
Because im making the mob immune after it has aggro, killing the acolytes will cause damage to it instead of normal fighting, until it hits 25% hp, then you will be able to kill it normally and no acolytes will spawn
Reply With Quote
 


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 08:24 PM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3