EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Will someone tell me what I am missing? (https://www.eqemulator.org/forums/showthread.php?t=30215)

zenaitha 12-31-2009 05:47 PM

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(12238);
}
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);
}
}

joligario 12-31-2009 06:34 PM

Probably meant to have $faction <= 2 rather than >= 2. I will rewrite this part for you.

joligario 12-31-2009 06:40 PM

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);
  }
}


zenaitha 12-31-2009 06:51 PM

Your amazing! Thanks sooo much it works now!! :) And it even returns the items!


All times are GMT -4. The time now is 10:28 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.