Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Shadow P4 preset and Enlightenment spec #3899

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -25,6 +25,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 @@ -36,6 +37,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 @@ -60,6 +62,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
Loading