For classes that get more than 1 reward as their epic 1.0, I just had to make sections for each of them:
Code:
if (($class == 'Warrior') && ($class ne 'Shadowknight' && $class ne 'Paladin' && $class ne 'Ranger' && $class ne 'Bard' && $class ne 'Beastlord' && $class ne 'Cleric' && $class ne 'Druid' && $class ne 'Shaman' && $class ne 'Wizard' && $class ne 'Magician' && $class ne 'Enchanter' && $class ne 'Necromancer' && $class ne 'Rogue' && $class ne 'Monk' && $class ne 'Berserker'))
{
if (plugin::check_handin(\%itemcount, 1384 => 1, 1385 => 1, 1387 => 1)) {
quest::summonitem(10908);
quest::summonitem(17859);
$client->Message(6, "Brendor Lan'ise diligently fashions the pieces together with great skill and precision." );
quest::exp(45000);
quest::say ("Take care of this, $name, and it will take care of you. You will need it for future Epic Quests.");
}
else {
plugin::return_items(\%itemcount);
#quest::say("I have no use for this item, $name. Take it back.");
}
}
Though, it probably wouldn't be all too hard to rewrite it to use hashes and some IFs to make a single block like this handle rewards and turn ins for all classes.