Skip to content

Commit

Permalink
Add Shadow P4 preset and Enlightenment spec (wowsims#3899)
Browse files Browse the repository at this point in the history
* Add P4 Preset

* Add Enlightenment spec
  • Loading branch information
kuwarantine authored Oct 18, 2023
1 parent 41e1712 commit c0d2004
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
19 changes: 19 additions & 0 deletions ui/shadow_priest/gear_sets/p4.gear.json
Original file line number Diff line number Diff line change
@@ -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]}
]}
17 changes: 17 additions & 0 deletions ui/shadow_priest/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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,
Expand All @@ -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,
Expand Down
4 changes: 3 additions & 1 deletion ui/shadow_priest/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class ShadowPriestSimUI extends IndividualSimUI<Spec.SpecShadowPriest> {

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,
Expand Down Expand Up @@ -127,6 +127,7 @@ export class ShadowPriestSimUI extends IndividualSimUI<Spec.SpecShadowPriest> {
// Preset talents that the user can quickly select.
talents: [
Presets.StandardTalents,
Presets.EnlightenmentTalents,
],
rotations: [
Presets.ROTATION_PRESET_DEFAULT,
Expand All @@ -137,6 +138,7 @@ export class ShadowPriestSimUI extends IndividualSimUI<Spec.SpecShadowPriest> {
Presets.P1_PRESET,
Presets.P2_PRESET,
Presets.P3_PRESET,
Presets.P4_PRESET,
],
},
});
Expand Down

0 comments on commit c0d2004

Please sign in to comment.