Limit XP Contribution

Experience bonuses are counted in the formula so that someone opting
to use a Ruby over an Amethyst in their helmet would not be penalized
too greatly.  However, with the addition of the Hellfire ring,
experience bonuses were giving Hellfire ring users a huge bonus.  By
limiting the experience bonus to 35%, the original intent is kept in
tact while preventing Hellfire abuse.
This commit is contained in:
Andrew Tomaka 2012-11-07 21:57:04 -05:00
parent 2293674f92
commit eac6c34fa1

View file

@ -96,8 +96,11 @@ class DPClass {
}
function miscScore() {
$bonusXP = $this->getStat('Exp Bonus');
if($bonusXP >= .35) $bonusXP -= .35;
return 1 + ($this->getStat('Melee Damage Reduction') + $this->getStat('Missile Damage Reduction')
+ $this->getStat('Exp Bonus')) / 2;
+ $bonusXP) / 2;
}
function getStat($name) {