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 12-31-2009, 05:47 PM
zenaitha
Fire Beetle
 
Join Date: Apr 2008
Posts: 2
Default Will someone tell me what I am missing?

Please someone tell me what I'm missing. It would be much appreciated.
The quest says that you need warmly in order to turn things into him and get the item, but I am indifferently in game and can still turn things into him and get the item. The second part also does not work. I have never done factions:(
http://everquest.allakhazam.com/db/quest.html?quest=454


sub EVENT_ITEM{
if(plugin::check_handin(\%itemcount, 13324 => 1, 13325 => 1) && ($faction >=2))
#Petilence Scythe, Decaying Heart
{
quest::say("Ahhhhhh! Finally.... The evil Grimrot has been slain! Praise Karana! Here $name, please take this gift as a reward for your troubles!");
quest::summonitem(1223;
}
if(plugin::check_handin(\%itemcount, 13324 => 1, 13325 => 1) && ($faction <=3))
#Petilence Scythe, Decaying Heart
{
quest::say("You have not proven yourself worthy of my trust. Come back once you have dedicated yourself to qeynos.");
plugin::return_items(\%itemcount);
}
}
Reply With Quote
  #2  
Old 12-31-2009, 06:34 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Probably meant to have $faction <= 2 rather than >= 2. I will rewrite this part for you.
Reply With Quote
  #3  
Old 12-31-2009, 06:40 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Code:
sub EVENT_ITEM {
  if(plugin::check_handin(\%itemcount, 13324 => 1, 13325 => 1)) { #Petilence Scythe, Decaying Heart
    if($faction <= 2) {
      quest::say("Ahhhhhh! Finally.... The evil Grimrot has been slain! Praise Karana! Here $name, please take this gift as a reward for your troubles!");
      quest::summonitem(12238);
    }
    else {
      quest::say("You have not proven yourself worthy of my trust. Come back once you have dedicated yourself to qeynos.");
      quest::summonitem(13324);
      quest::summonitem(13325);
    }
  }
  else {
    quest::say("I have no use for this.");
    plugin::return_items(\%itemcount);
  }
}
Reply With Quote
  #4  
Old 12-31-2009, 06:51 PM
zenaitha
Fire Beetle
 
Join Date: Apr 2008
Posts: 2
Default

Your amazing! Thanks sooo much it works now!! And it even returns the items!
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:45 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