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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-01-2008, 11:56 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

I think he is talking final blow. Just like in some of the trials in MPG.
Reply With Quote
  #2  
Old 10-02-2008, 12:20 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

Quote:
Originally Posted by joligario View Post
I think he is talking final blow. Just like in some of the trials in MPG.
exactly.. i want to see who got the final blow so i can say somewhere in the fight you need to be this class to kill me then if there not don't let them kill it basically.
Reply With Quote
  #3  
Old 10-02-2008, 06:26 PM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

ok this is working now the only problem i have is the exp.

Code:
  my $Random;
  my $x;
  my $y;
  my $z;
  my $h;
  my $entity_id;

sub EVENT_SPAWN 
{ 
$entity_id=$npc->GetID();
$x = $npc->GetX();
$y = $npc->GetY();
$z = $npc->GetZ();
$h = $npc->GetHeading();
$Random = quest::ChooseRandom(Warrior,Cleric,Paladin,Ranger,Shadowknight,Druid,Monk,Bard,Rogue,Shaman,Necromancer,Wizard,Magician,Enchanter,Beastlord,Berserker);
quest::setnexthpevent(90);
}

sub EVENT_HP 
{ 	
if($hpevent == 90)
{ 
quest::shout("Only The powers of a $Random can defeat me!");
}
}

sub EVENT_DEATH
{
my $corpse_id = $entity_list->GetCorpseByID($entity_id);
quest::shout("Death event started killer class = $class and name = $name!");
  if ($class eq $Random) {
	quest::shout("You have Defeated me!");
}
else
{
	quest::spawn2(1333,0,0,$x,$y,$z,$h);
	quest::shout("You Cannot Defeat me!");
	my $corpse_decay = $corpse_id->CastToCorpse();
	$corpse_decay->SetDecayTimer(5000); 
}
}
i was thinking

could i use sub EVENT_KILLED_MERIT and some math to get how much exp was given out and then take it away?
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:19 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