Skip to content

Commit

Permalink
Add tw/heroism check
Browse files Browse the repository at this point in the history
  • Loading branch information
1337LutZ committed Jul 29, 2024
1 parent db21705 commit 1672228
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/mage/fire/sim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ export class FireMageSimUI extends IndividualSimUI<Spec.SpecFireMage> {
new ReforgeOptimizer(this, {
statSelectionPresets: Presets.FIRE_BREAKPOINTS,
updateSoftCaps: softCaps => {
const hasBL = !!player.getRaid()?.getBuffs()?.bloodlust;
const raidBuffs = player.getRaid()?.getBuffs();
const hasBL = !!(raidBuffs?.bloodlust || raidBuffs?.timeWarp || raidBuffs?.heroism);
const hasPI = !!player.getBuffs().powerInfusionCount;
const hasBerserking = player.getRace() === Race.RaceTroll;

Expand Down Expand Up @@ -222,7 +223,8 @@ export class FireMageSimUI extends IndividualSimUI<Spec.SpecFireMage> {
},
additionalSoftCapTooltipInformation: {
[Stat.StatSpellHaste]: () => {
const hasBL = !!player.getRaid()?.getBuffs()?.bloodlust;
const raidBuffs = player.getRaid()?.getBuffs();
const hasBL = !!(raidBuffs?.bloodlust || raidBuffs?.timeWarp || raidBuffs?.heroism);
const hasPI = !!player.getBuffs().powerInfusionCount;
const hasBerserking = player.getRace() === Race.RaceTroll;

Expand Down

0 comments on commit 1672228

Please sign in to comment.