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:
parent
2293674f92
commit
eac6c34fa1
1 changed files with 4 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue