Skip to content

Commit

Permalink
Remove AOE EP
Browse files Browse the repository at this point in the history
  • Loading branch information
1337LutZ committed Sep 26, 2024
1 parent 9cb7d66 commit 87b4fbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
17 changes: 2 additions & 15 deletions ui/shaman/elemental/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const EP_PRESET_DEFAULT = PresetUtils.makePresetEpWeights(
);

export const EP_PRESET_CLEAVE = PresetUtils.makePresetEpWeights(
'Cleave',
'Cleave/AoE',
Stats.fromMap({
[Stat.StatIntellect]: 1.33,
[Stat.StatSpellPower]: 1,
Expand All @@ -64,19 +64,6 @@ export const EP_PRESET_CLEAVE = PresetUtils.makePresetEpWeights(
}),
);

export const EP_PRESET_AOE = PresetUtils.makePresetEpWeights(
'AoE (4+)',
Stats.fromMap({
[Stat.StatIntellect]: 1.33,
[Stat.StatSpellPower]: 1,
[Stat.StatCritRating]: 0.57,
[Stat.StatHasteRating]: 0.54,
[Stat.StatHitRating]: 1.09,
[Stat.StatSpirit]: 1.09,
[Stat.StatMasteryRating]: 1,
}),
);

// Default talents. Uses the wowhead calculator format, make the talents on
// https://wowhead.com/cata/talent-calc and copy the numbers in the url.
export const TalentsTotemDuration = {
Expand Down Expand Up @@ -214,5 +201,5 @@ export const P3_PRESET_BUILD_AOE = PresetUtils.makePresetBuild('P3 - AoE (4+)',
talents: TalentsAoE,
rotation: ROTATION_PRESET_AOE,
encounter: ENCOUNTER_AOE,
epWeights: EP_PRESET_AOE,
epWeights: EP_PRESET_CLEAVE,
});
4 changes: 1 addition & 3 deletions ui/shaman/elemental/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecElementalShaman, {
},

presets: {
epWeights: [Presets.EP_PRESET_DEFAULT, Presets.EP_PRESET_CLEAVE, Presets.EP_PRESET_AOE],
epWeights: [Presets.EP_PRESET_DEFAULT, Presets.EP_PRESET_CLEAVE],
// Preset talents that the user can quickly select.
talents: [Presets.TalentsTotemDuration, Presets.TalentsImprovedShields, Presets.TalentsAoE],
// Preset rotations that the user can quickly select.
Expand Down Expand Up @@ -167,11 +167,9 @@ export class ElementalShamanSimUI extends IndividualSimUI<Spec.SpecElementalSham
const playerWeights = player.getEpWeights();
const defaultWeights = Presets.EP_PRESET_DEFAULT.epWeights;
const cleaveWeights = Presets.EP_PRESET_CLEAVE.epWeights;
const aoeWeights = Presets.EP_PRESET_AOE.epWeights;

if (playerWeights.equals(defaultWeights)) return defaultWeights;
if (playerWeights.equals(cleaveWeights)) return cleaveWeights;
if (playerWeights.equals(aoeWeights)) return aoeWeights;

return playerWeights;
},
Expand Down

0 comments on commit 87b4fbb

Please sign in to comment.