From c0d200493aa11cac895e26afca50d32e73876f41 Mon Sep 17 00:00:00 2001 From: kuwarantine <107316203+kuwarantine@users.noreply.github.com> Date: Wed, 18 Oct 2023 05:54:33 +0300 Subject: [PATCH] Add Shadow P4 preset and Enlightenment spec (#3899) * Add P4 Preset * Add Enlightenment spec --- ui/shadow_priest/gear_sets/p4.gear.json | 19 +++++++++++++++++++ ui/shadow_priest/presets.ts | 17 +++++++++++++++++ ui/shadow_priest/sim.ts | 4 +++- 3 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 ui/shadow_priest/gear_sets/p4.gear.json diff --git a/ui/shadow_priest/gear_sets/p4.gear.json b/ui/shadow_priest/gear_sets/p4.gear.json new file mode 100644 index 0000000000..b3d050a846 --- /dev/null +++ b/ui/shadow_priest/gear_sets/p4.gear.json @@ -0,0 +1,19 @@ +{"items": [ + {"id":51255,"enchant":3820,"gems":[41285,40133]}, + {"id":50724,"gems":[40113]}, + {"id":51257,"enchant":3810,"gems":[40155]}, + {"id":50628,"enchant":3722,"gems":[40155]}, + {"id":51259,"enchant":1144,"gems":[40113,40155]}, + {"id":50651,"enchant":2332,"gems":[40155,0]}, + {"id":51256,"enchant":3604,"gems":[40113,0]}, + {"id":50613,"gems":[40133,40113,40113]}, + {"id":50694,"enchant":3719,"gems":[40113,40133,40155]}, + {"id":50699,"enchant":3606,"gems":[40133,40113]}, + {"id":50664,"gems":[40113]}, + {"id":50398,"gems":[40155]}, + {"id":50348}, + {"id":50365}, + {"id":50734,"enchant":3834,"gems":[40113]}, + {"id":50719}, + {"id":50684,"gems":[40155]} +]} \ No newline at end of file diff --git a/ui/shadow_priest/presets.ts b/ui/shadow_priest/presets.ts index fb5d586134..9e68b9992a 100644 --- a/ui/shadow_priest/presets.ts +++ b/ui/shadow_priest/presets.ts @@ -27,6 +27,7 @@ import PreraidGear from './gear_sets/preraid.gear.json'; import P1Gear from './gear_sets/p1.gear.json'; import P2Gear from './gear_sets/p2.gear.json'; import P3Gear from './gear_sets/p3.gear.json'; +import P4Gear from './gear_sets/p4.gear.json'; import DefaultApl from './apls/default.apl.json' @@ -38,6 +39,7 @@ export const PRERAID_PRESET = PresetUtils.makePresetGear('Preraid Preset', Prera export const P1_PRESET = PresetUtils.makePresetGear('P1 Preset', P1Gear); export const P2_PRESET = PresetUtils.makePresetGear('P2 Preset', P2Gear); export const P3_PRESET = PresetUtils.makePresetGear('P3 Preset', P3Gear); +export const P4_PRESET = PresetUtils.makePresetGear('P4 Preset', P4Gear); export const DefaultRotation = Rotation.create({ rotationType: ShadowPriest_Rotation_RotationType.Ideal, @@ -62,6 +64,21 @@ export const StandardTalents = { }), }; +export const EnlightenmentTalents = { + name: 'Enlightenment', + data: SavedTalents.create({ + talentsString: '05032031303005022--3250230012230101231513011', + glyphs: Glyphs.create({ + major1: MajorGlyph.GlyphOfShadow, + major2: MajorGlyph.GlyphOfMindFlay, + major3: MajorGlyph.GlyphOfShadowWordDeath, + minor1: MinorGlyph.GlyphOfFortitude, + minor2: MinorGlyph.GlyphOfShadowProtection, + minor3: MinorGlyph.GlyphOfShadowfiend, + }), + }), +}; + export const DefaultOptions = Options.create({ useShadowfiend: true, useMindBlast: true, diff --git a/ui/shadow_priest/sim.ts b/ui/shadow_priest/sim.ts index 08a2a2bbea..81939e6af3 100644 --- a/ui/shadow_priest/sim.ts +++ b/ui/shadow_priest/sim.ts @@ -57,7 +57,7 @@ export class ShadowPriestSimUI extends IndividualSimUI { defaults: { // Default equipped gear. - gear: Presets.P3_PRESET.gear, + gear: Presets.P4_PRESET.gear, // Default EP weights for sorting gear in the gear picker. epWeights: Stats.fromMap({ [Stat.StatIntellect]: 0.11, @@ -127,6 +127,7 @@ export class ShadowPriestSimUI extends IndividualSimUI { // Preset talents that the user can quickly select. talents: [ Presets.StandardTalents, + Presets.EnlightenmentTalents, ], rotations: [ Presets.ROTATION_PRESET_DEFAULT, @@ -137,6 +138,7 @@ export class ShadowPriestSimUI extends IndividualSimUI { Presets.P1_PRESET, Presets.P2_PRESET, Presets.P3_PRESET, + Presets.P4_PRESET, ], }, });