Log in

View Full Version : Will someone tell me what I am missing?


zenaitha
12-31-2009, 05:47 PM
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
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!