myhp += $row['hp']; $this->mymana += $row['mana']; $this->myendurance += $row['endur']; $this->myAC += $row['ac']; $this->mySTR += $row['astr']; $this->mySTA += $row['asta']; $this->myAGI += $row['aagi']; $this->myDEX += $row['adex']; $this->myWIS += $row['awis']; $this->myINT += $row['aint']; $this->myCHA += $row['acha']; $this->myHSTR += $row['heroic_str']; //added 7 lines 2/25/2014 $this->myHSTA += $row['heroic_sta']; $this->myHAGI += $row['heroic_agi']; $this->myHDEX += $row['heroic_dex']; $this->myHWIS += $row['heroic_wis']; $this->myHINT += $row['heroic_int']; $this->myHCHA += $row['heroic_cha']; $this->myMR += $row['mr']; $this->myPR += $row['pr']; $this->myCR += $row['cr']; $this->myFR += $row['fr']; $this->myDR += $row['dr']; $this->myHMR += $row['heroic_mr']; //added 5 lines 2/25/2014 $this->myHPR += $row['heroic_pr']; $this->myHCR += $row['heroic_cr']; $this->myHFR += $row['heroic_fr']; $this->myHDR += $row['heroic_dr']; $this->myFT += $row['manaregen']; $this->myDS += $row['damageshield']; $this->myregen += $row['regen']; $this->myattack += $row['attack']; $this->myhaste = max($row['haste'],$this->myhaste); //only save highest haste } public function addwt($wt) { $this->myWT += $wt; } function hp() { return $this->myhp; } function mana() { return $this->mymana; } function endurance() { return $this->myendurance; } function AC() { return $this->myAC; } function STR() { return $this->mySTR; } function STA() { return $this->mySTA; } function AGI() { return $this->myAGI; } function DEX() { return $this->myDEX; } function WIS() { return $this->myWIS; } function INT() { return $this->myINT; } function CHA() { return $this->myCHA; } //added next 7 function 2/25/2014 function HSTR() { return $this->myHSTR; } function HSTA() { return $this->myHSTA; } function HAGI() { return $this->myHAGI; } function HDEX() { return $this->myHDEX; } function HWIS() { return $this->myHWIS; } function HINT() { return $this->myHINT; } function HCHA() { return $this->myHCHA; } function MR() { return $this->myMR; } function PR() { return $this->myPR; } function CR() { return $this->myCR; } function FR() { return $this->myFR; } function DR() { return $this->myDR; } //added next 5 function 2/25/2014 function HMR() { return $this->myHMR; } function HPR() { return $this->myHPR; } function HCR() { return $this->myHCR; } function HFR() { return $this->myHFR; } function HDR() { return $this->myHDR; } function FT() { return $this->myFT; } function DS() { return $this->myDS; } function regen() { return $this->myregen; } function attack() { return $this->myattack; } function haste() { return $this->myhaste; } function WT() { return $this->myWT; } } ?>