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
  #1  
Old 08-19-2010, 07:10 PM
Bellos
Hill Giant
 
Join Date: Jul 2007
Posts: 111
Default Trouble with my HP event.

Its spawning the 2 the first round like it should. Then at 60% it spawns the first and and the next 2, then at the last 40% it spawns all of em, the first 2 mobs the 2nd 2 mobs and the 3rd 2 mobs.

I dunno why its doing this. Can anyone help me out?


Code:
#Grond Lieutant of Sauron
sub EVENT_SPAWN {
	quest::setnexthpevent(80);
}

sub EVENT_HP {
	if($hpevent = 80)
	{
	quest::setnexthpevent(60);
	quest::shout("Come Servants of Sauron!!");
	quest::shout("Destroy the Intruders!!");
	quest::spawn2(999240,0,0,441,764,9.6,20.9);
	quest::spawn2(999240,0,0,491.2,767.6,9.6,230);
	}
	
	if($hpevent = 60)
	{
	quest::setnexthpevent(40);
	quest::shout("Come Servants of Sauron!!");
	quest::shout("Destroy the Intruders!!");
	quest::spawn2(999239,0,0,441,764,9.6,20.9);
	quest::spawn2(999239,0,0,491.2,767.6,9.6,230);
	}
	
	if($hpevent <= 40)
	{
	quest::shout("Come Servants of Sauron!!");
	quest::shout("Destroy the Intruders!!");
	quest::spawn2(999243,0,0,441,764,9.6,20.9);
	quest::spawn2(999243,0,0,491.2,767.6,9.6,230);
	}
}
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 01:22 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3