Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2011, 08:11 PM
bodi
Hill Giant
 
Join Date: May 2010
Posts: 105
Default Fabled spawn code with server shout

I can't stand the /camp to repop named or fableds, so I removed all PH using Georges' spawn group editor and changed named to 100% spawns. Then, I removed all fabled and added this script to the named that have fabled.

The result is, you have all named up, when you kill the named, there is a 5% chance that the fabled version will immediately spawn in his place. I have added a server wide shout, because everyone likes to see their badassery displayed to the server. Easily customizable to each named or whatever you want to spawn. Enjoy.

Code:
sub EVENT_DEATH
{
	my $random_result = int(rand(100));
	my $a=63096; #npc - Fabled Garanel Rucksif
	if($random_result<6)
	{
		
		quest::shout2 ("$name has spawned the Fabled Garanel Rucksif");
		quest::spawn2($a, 0, 0, 147,485,-33,0); 
#the 3 numbers that arent 0s are x,y,z loc of where u want him to spawn.
	}
	else
	{
		quest::say("Someday, I will return to strike you down, $name");
	}
}
Reply With Quote
Reply


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