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
  #8  
Old 01-05-2023, 03:48 PM
nilbog
Hill Giant
 
Join Date: Nov 2007
Posts: 198
Default

Oops, looks like I never replied back to this.

My proposed solution would be in perl.

Summary:
Invisible man controller spawns with 0 spider tokens.
Each time a spider is killed, it signals the controller. Controller increments spider token counter.
Once the controller has 20 spider tokens, spawn2 or unique_spawn whatever your boss npc id is and resets spider tokens to 0.

Code:
#invisible man controller

my $spidertoken = 0;

sub EVENT_SPAWN 
{
	$spidertoken = 0;
}

sub EVENT_SIGNAL 
{
	if ($spidertoken < 20)
	{
		$spidertoken++;
	}
	else
	{
		spawn2 whatever
		$spidertoken = 0;
	}
}
Code:
#spiders

sub EVENT_DEATH 
{
	quest::signalwith(controllernpcid,1,1);
}
__________________
https://www.project1999.com
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 04:41 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3