Skip to content

Commit 1485aea

Browse files
committed
Remove EP coeff multi
1 parent e61af74 commit 1485aea

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ui/core/components/suggest_reforges_action.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,6 @@ export class ReforgeOptimizer {
16361636

16371637
// Apply stat dependencies before setting optimization coefficients
16381638
applyReforgeStat(coefficients: YalpsCoefficients, stat: Stat, amount: number, preCapEPs: Stats) {
1639-
let EpCoefficientMultiplier: number = 1;
16401639
if (stat == Stat.StatSpirit && this.player.getRace() == Race.RaceHuman) {
16411640
amount *= 1.03;
16421641
}
@@ -1648,13 +1647,12 @@ export class ReforgeOptimizer {
16481647
const statScalingCoeff = 0.00176999997;
16491648
const buffValue = 1 + (statScalingCoeff * randPropPoints) / 100;
16501649
amount *= buffValue;
1651-
if (stat == Stat.StatSpirit) EpCoefficientMultiplier *= buffValue;
16521650
});
16531651
}
16541652

16551653
// Handle Spirit to Spell Hit conversion for hybrid casters separately from standard dependencies
16561654
if ((stat == Stat.StatSpirit && this.isHybridCaster) || stat == Stat.StatExpertiseRating) {
1657-
this.setPseudoStatCoefficient(coefficients, PseudoStat.PseudoStatSpellHitPercent, amount * EpCoefficientMultiplier / Mechanics.SPELL_HIT_RATING_PER_HIT_PERCENT);
1655+
this.setPseudoStatCoefficient(coefficients, PseudoStat.PseudoStatSpellHitPercent, amount / Mechanics.SPELL_HIT_RATING_PER_HIT_PERCENT);
16581656
}
16591657

16601658
// If a highest Stat constraint is to be enforced, then update the

0 commit comments

Comments
 (0)