Thread: Quest question.
View Single Post
  #6  
Old 05-01-2015, 09:03 PM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

You can use GetEXP/GetAAEXP and SetEXP.

Code:
my $currentaaexp = $client->GetAAEXP();
my $currentregularexp = $client->GetEXP();
my $aaexptogive = 1000;
$client->SetEXP($currentregularexp,($currentaaexp+$aaexptogive));
Did unnecessary declaration to show you what's going on but:

Code:
$client->SetEXP($client->GetEXP(),($client->GetAAEXP()+1000));
Would be less code.
Reply With Quote