From b3992a11523d7dd58bf5f04e47fad65df65e1a10 Mon Sep 17 00:00:00 2001 From: Horatio Date: Sun, 12 Nov 2023 12:51:55 -0400 Subject: [PATCH] Added P4 Presets for enh --- .../gear_sets/p4_ft.gear.json | 19 +++++++++++++++++++ .../gear_sets/p4_wf.gear.json | 19 +++++++++++++++++++ ui/enhancement_shaman/presets.ts | 11 +++++++++++ ui/enhancement_shaman/sim.ts | 4 +++- 4 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 ui/enhancement_shaman/gear_sets/p4_ft.gear.json create mode 100644 ui/enhancement_shaman/gear_sets/p4_wf.gear.json diff --git a/ui/enhancement_shaman/gear_sets/p4_ft.gear.json b/ui/enhancement_shaman/gear_sets/p4_ft.gear.json new file mode 100644 index 0000000000..d21c587163 --- /dev/null +++ b/ui/enhancement_shaman/gear_sets/p4_ft.gear.json @@ -0,0 +1,19 @@ +{"items": [ + {"id":51242,"enchant":3817,"gems":[41398,40118]}, + {"id":50658,"gems":[42156]}, + {"id":51240,"enchant":3808,"gems":[40128]}, + {"id":50653,"enchant":3831,"gems":[40128]}, + {"id":51244,"enchant":3832,"gems":[40118,49110]}, + {"id":50687,"enchant":3845,"gems":[40128,0]}, + {"id":50619,"enchant":3604,"gems":[40125,40118,0]}, + {"id":50613,"enchant":3599,"gems":[40128,40118,40128]}, + {"id":51241,"enchant":3823,"gems":[40118,40128]}, + {"id":50711,"enchant":3606,"gems":[40128,40128]}, + {"id":50604,"gems":[42156]}, + {"id":50402,"gems":[42156]}, + {"id":50343}, + {"id":45609}, + {"id":51939,"enchant":3789,"gems":[40118]}, + {"id":50710,"enchant":3789,"gems":[40118]}, + {"id":50458} +]} \ No newline at end of file diff --git a/ui/enhancement_shaman/gear_sets/p4_wf.gear.json b/ui/enhancement_shaman/gear_sets/p4_wf.gear.json new file mode 100644 index 0000000000..f46a8f936b --- /dev/null +++ b/ui/enhancement_shaman/gear_sets/p4_wf.gear.json @@ -0,0 +1,19 @@ +{"items": [ + {"id":51242,"enchant":3817,"gems":[41398,40118]}, + {"id":51890,"gems":[40118]}, + {"id":51240,"enchant":3808,"gems":[40128]}, + {"id":50653,"enchant":3831,"gems":[40128]}, + {"id":51244,"enchant":3832,"gems":[40118,49110]}, + {"id":51914,"enchant":3845,"gems":[40118,0]}, + {"id":50619,"enchant":3604,"gems":[40128,40159,0]}, + {"id":50993,"gems":[42150,42150,42150]}, + {"id":51241,"enchant":3823,"gems":[40118,40159]}, + {"id":50711,"enchant":3606,"gems":[40128,40128]}, + {"id":50604,"gems":[40128]}, + {"id":50402,"gems":[40128]}, + {"id":50355}, + {"id":50343}, + {"id":50692,"enchant":3789,"gems":[40128]}, + {"id":50710,"enchant":3789,"gems":[40128]}, + {"id":50458} +]} \ No newline at end of file diff --git a/ui/enhancement_shaman/presets.ts b/ui/enhancement_shaman/presets.ts index 816f4bf0da..03bc5e413c 100644 --- a/ui/enhancement_shaman/presets.ts +++ b/ui/enhancement_shaman/presets.ts @@ -36,10 +36,13 @@ import P2FtGear from './gear_sets/p2_ft.gear.json'; import P2WfGear from './gear_sets/p2_wf.gear.json'; import P3AllianceGear from './gear_sets/p3_alliance.gear.json'; import P3HordeGear from './gear_sets/p3_horde.gear.json'; +import P4FtGear from './gear_sets/p4_ft.gear.json'; +import P4WfGear from './gear_sets/p4_wf.gear.json'; import DefaultFt from './apls/default_ft.apl.json'; import DefaultWf from './apls/default_wf.apl.json'; import Phase3Apl from './apls/phase_3.apl.json'; +import { TotemsSection } from 'ui/core/components/totem_inputs.js'; // Preset options for this spec. // Eventually we will import these values for the raid sim too, so its good to @@ -51,6 +54,8 @@ export const P2_PRESET_FT = PresetUtils.makePresetGear('P2 Preset FT', P2FtGear) export const P2_PRESET_WF = PresetUtils.makePresetGear('P2 Preset WF', P2WfGear); export const P3_PRESET_ALLIANCE = PresetUtils.makePresetGear('P3 Preset [A]', P3AllianceGear, { faction: Faction.Alliance }); export const P3_PRESET_HORDE = PresetUtils.makePresetGear('P3 Preset [H]', P3HordeGear, { faction: Faction.Horde }); +export const P4_PRESET_FT = PresetUtils.makePresetGear('P4 Preset FT', P4FtGear); +export const P4_PRESET_WF = PresetUtils.makePresetGear('P4 Preset WF', P4WfGear); export const DefaultRotation = EnhancementShamanRotation.create({ totems: ShamanTotems.create({ @@ -125,6 +130,12 @@ export const DefaultOptions = EnhancementShamanOptions.create({ imbueMh: ShamanImbue.WindfuryWeapon, imbueOh: ShamanImbue.FlametongueWeapon, syncType: ShamanSyncType.Auto, + totems: ShamanTotems.create({ + earth: EarthTotem.StrengthOfEarthTotem, + fire: FireTotem.MagmaTotem, + water: WaterTotem.ManaSpringTotem, + air: AirTotem.WindfuryTotem, + }) }); export const DefaultConsumes = Consumes.create({ diff --git a/ui/enhancement_shaman/sim.ts b/ui/enhancement_shaman/sim.ts index 82895ac270..a7ab7f5cb5 100644 --- a/ui/enhancement_shaman/sim.ts +++ b/ui/enhancement_shaman/sim.ts @@ -72,7 +72,7 @@ export class EnhancementShamanSimUI extends IndividualSimUI