diff --git a/d3hog_driver.php b/d3hog_driver.php index aaceb5c..e6bb4bb 100644 --- a/d3hog_driver.php +++ b/d3hog_driver.php @@ -16,21 +16,63 @@ if($_POST['submit']) { die('Bad provider. Either your provider could not be detected or we do not support your provider at this time.'); } - $character = DiabloClassFactory::createClassObject($stats->class, $stats, 'pvp'); + $pve = DiabloClassFactory::createClassObject($stats->class, $stats, 'pve'); + $pvp = DiabloClassFactory::createClassObject($stats->class, $stats, 'pvp'); - if($character === FALSE) { + if($pve === FALSE) { + die('Bad class. Either your class could not be detected or we do not support your class at this time.'); + } + if($pvp === FALSE) { die('Bad class. Either your class could not be detected or we do not support your class at this time.'); } ?>
-Hall Score: hallScore(), 2, '.', ','); ?>

- -DPS Score: DPSScore(), 2, '.', ','); ?>
-EHP Score: EHPScore(), 2, '.', ','); ?>
-Sustain Score: sustainScore(), 2, '.', ','); ?>
-Move Score: moveScore(), 2, '.', ','); ?>
-Paragon Score: paragonScore(), 2, '.', ','); ?>
-Misc Score: miscScore(), 2, '.', ','); ?>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PvEPvP
Hall ScorehallScore(), 2, '.', ','); ?>hallScore(), 2, '.', ','); ?>
DPS ScoreDPSScore(), 2, '.', ','); ?>DPSScore(), 2, '.', ','); ?>
EHP ScoreEHPScore(), 2, '.', ','); ?>EHPScore(), 2, '.', ','); ?>
Sustain ScoresustainScore(), 2, '.', ','); ?>sustainScore(), 2, '.', ','); ?>
Move ScoremoveScore(), 2, '.', ','); ?>moveScore(), 2, '.', ','); ?>
Paragon ScoreparagonScore(), 2, '.', ','); ?>paragonScore(), 2, '.', ','); ?>
Misc ScoremiscScore(), 2, '.', ','); ?>miscScore(), 2, '.', ','); ?>