diff --git a/d3hog_driver.php b/d3hog_driver.php index 4103e9d..6b50a03 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); + $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.'); } ?>
+ | PvE | +PvP | +
---|---|---|
Hall Score | +hallScore(), 2, '.', ','); ?> | +hallScore(), 2, '.', ','); ?> | +
DPS Score | +DPSScore(), 2, '.', ','); ?> | +DPSScore(), 2, '.', ','); ?> | +
EHP Score | +EHPScore(), 2, '.', ','); ?> | +EHPScore(), 2, '.', ','); ?> | +
Sustain Score | +sustainScore(), 2, '.', ','); ?> | +sustainScore(), 2, '.', ','); ?> | +
Move Score | +moveScore(), 2, '.', ','); ?> | +moveScore(), 2, '.', ','); ?> | +
Paragon Score | +paragonScore(), 2, '.', ','); ?> | +0 | +
Misc Score | +miscScore(), 2, '.', ','); ?> | +miscScore(), 2, '.', ','); ?> | +