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
  #14  
Old 05-02-2009, 05:53 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

I am making a quest where killing monsters will give you a global credit, and then you can hail someone in PoK for your epic. Here are their two quests:

Code:
sub EVENT_DEATH{
 quest::setglobal("epic",$epic+1, H1);
 $epic = undef;
}
and

Code:
sub EVENT_SAY{
 if ($text=~/hail/i){
  if ($class eq "Cleric"){
   if ($qglobals{epic} <5){
   quest::say("The world is in dire need of healers such as you. Are you looking to further your power with an [epic]?");
  }
  elsif(qgbobals{epic} >4){
  quest::say("Congratulations. You're help has earned you this weapon.");
  quest::summonitem(5532);
  $epic = undef;
 }
 }
}
 if ($text=~/epic/i){
  if ($class eq "Cleric"){
  quest::say("I will gladly assist you in gaining your epic weapon;however, you will need to do something for me in the Plane of War first. Tell me if you are [ready].");
  }
 }
 
 if ($text=~/ready/i){
  if ($class eq "Cleric"){
   if ($ulevel >45){
   quest::movepc(213, 0,0,0);
  }
  elsif ($ulevel <46){
  quest::say("You aren't good enough.");
  }
  }
 }
}
After I kill the five monsters, I will return to PoK, hail the person, and receive the same dialogue as if I didn't have the global.
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:52 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