Skip to content

Commit

Permalink
fix crit stat in UI (#3738)
Browse files Browse the repository at this point in the history
  • Loading branch information
lime-green authored Sep 23, 2023
1 parent 61465a9 commit 6ed2bd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/core/components/character_stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,12 @@ export class CharacterStats extends Component {
debuffStats = debuffStats.addStat(Stat.StatSpellHit, 3 * Mechanics.SPELL_HIT_RATING_PER_HIT_CHANCE);
}
if (debuffs.totemOfWrath || debuffs.heartOfTheCrusader || debuffs.masterPoisoner) {
debuffStats = debuffStats.addStat(Stat.StatSpellCrit, 3 * Mechanics.SPELL_CRIT_RATING_PER_CRIT_CHANCE);
debuffStats = debuffStats.addStat(Stat.StatMeleeCrit, 3 * Mechanics.MELEE_CRIT_RATING_PER_CRIT_CHANCE);
}
if (debuffs.improvedScorch || debuffs.wintersChill || debuffs.shadowMastery) {
debuffStats = debuffStats.addStat(Stat.StatSpellCrit, 5 * Mechanics.SPELL_CRIT_RATING_PER_CRIT_CHANCE);
} else if (debuffs.totemOfWrath || debuffs.heartOfTheCrusader || debuffs.masterPoisoner) {
debuffStats = debuffStats.addStat(Stat.StatSpellCrit, 3 * Mechanics.SPELL_CRIT_RATING_PER_CRIT_CHANCE);
}

return debuffStats;
Expand Down

0 comments on commit 6ed2bd8

Please sign in to comment.