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
  #1  
Old 12-23-2013, 05:12 AM
Township EQ
Hill Giant
 
Join Date: Sep 2013
Posts: 118
Default Handling task rewards via sub event task_stage_complete

Task ID: 272
Last Activity ID in task: 4

I'm just trying to hand out a reward by class via the perl system. This is my player.pl for the zone that it's in. I've been messing around with it and can't seem to find the problem. The whole quest is handled via Perl and everything is working properly with the steps of the task and completing it.. but I'm not even getting the reward message that's in there. Am I using the sub event wrong or something? The rest of my player.pl is working properly.

Code:
sub EVENT_TASK_STAGE_COMPLETE {
  if($task_id == 272 && $activity_id == 4) {
  $client->Message(15,"REWARD TOWN USA");
    if($class eq "Warrior"){quest::summonitem(1377);}
    elsif($class eq "Cleric") {quest::summonitem(1385);}
    elsif($class eq "Paladin") {quest::summonitem(1384);}
    elsif($class eq "Ranger") {quest::summonitem(1387);}
    elsif($class eq "Shadowknight"){quest::summonitem(1384);}
    elsif($class eq "Druid"){quest::summonitem(1389);}
    elsif($class eq "Monk"){quest::summonitem(1391);}
    elsif($class eq "Bard"){quest::summonitem(1386);}
    elsif($class eq "Rogue"){quest::summonitem(1387);}
    elsif($class eq "Shaman"){quest::summonitem(1388);}
    elsif($class eq "Necromancer"){quest::summonitem(1392);}
    elsif($class eq "Wizard"){quest::summonitem(1392);}
    elsif($class eq "Magician"){quest::summonitem(1392);}
    elsif($class eq "Enchanter"){quest::summonitem(1392);}
  }
}
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 06:18 PM.


 

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