Skip to content

Commit

Permalink
auto rotation detect FFB (#3929)
Browse files Browse the repository at this point in the history
  • Loading branch information
lime-green authored Oct 20, 2023
1 parent 05bdea3 commit 7f4da05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/mage/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ export class MageSimUI extends IndividualSimUI<Spec.SpecMage> {
} else if (talentTree == 0) {
return Presets.ARCANE_ROTATION_PRESET_DEFAULT.rotation.rotation!;
} else if (talentTree == 1) {
if (player.getTalents().iceShards > 0) {
return Presets.FROSTFIRE_ROTATION_PRESET_DEFAULT.rotation.rotation!;
}
return Presets.FIRE_ROTATION_PRESET_DEFAULT.rotation.rotation!;
} else {
return Presets.FROST_ROTATION_PRESET_DEFAULT.rotation.rotation!;
Expand Down

0 comments on commit 7f4da05

Please sign in to comment.