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

Quests::Custom Custom Quests here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 05-02-2017, 07:01 PM
Osage's Avatar
Osage
Fire Beetle
 
Join Date: Jan 2017
Posts: 12
Default

Ok so I applied the changes you suggested joligario and am having the same issue just a little different. Will try and explain a little better this time.



I am attempting to have King Gragnar in The Warrens spawn "a fallen adventurer" to draw power from as he is a Shadowknight. Here is what happens when I engage him:

Mob 1 spawns and is standing

Mob 2 spawns and causes Mob 1 to FD while Mob 2 remains standing

Mob 3 spawns and causes Mob 2 to FD while Mob 3 remains standing

Mob 4 spawns and causes Mob 3 to FD while Mob 4 remains standing

This is where it gets weird

Mob 5 spawns and DOES NOT cause Mob 4 to FD while Mob 5 remains standing.

Subsequent mobs do not cause the previous mob to FD and do not FD themselves.

Here is the code:
Code:
sub EVENT_SPAWN	{ 
	my $random_race = quest::ChooseRandom(1,4,6,7,);
	my $random_texture = quest::ChooseRandom(1,2);
	my $random_weapon = quest::ChooseRandom(1,2,3,7,8,14);
	my $random_gender = int(rand(2));
	
			quest::pause(3);
	        quest::npcgender($random_gender);
	        quest::npcrace($random_race);
            quest::npctexture($random_texture);
            quest::wearchange(7, $random_weapon);
			quest::setanim(101140, 3);
	}
	
sub EVENT_SIGNAL {
  if($signal == 1) { #signal from boss to increase damage if players have not killed corpses
   quest::signalwith(101109,2,int(rand(5)))
   }
}	

sub EVENT_DEATH {
   quest::signalwith(101109,3,int(rand(5))) #were signaling back that this corpse has been killed and it will reduce boss damage
}
I am trying to have them FD upon spawn without the need for another mob to "trigger" them FD'ing. Pretty stumped here :/
__________________
Currently Developing Rise of Norrath
Prestige Content now live!
http://theriseofnorrath.com/
https://discord.gg/KV3XrtG
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 10:54 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