Skip to content

Commit

Permalink
Updated Presets for Prot Pal
Browse files Browse the repository at this point in the history
  • Loading branch information
psiven committed Nov 11, 2023
1 parent 6a11f78 commit 59bd8b5
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 2 deletions.
19 changes: 19 additions & 0 deletions ui/protection_paladin/gear_sets/p3.gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{"items": [
{"id":49475,"enchant":3878,"gems":[41380,40129]},
{"id":47133,"gems":[40119]},
{"id":48646,"enchant":3852,"gems":[40119]},
{"id":47549,"enchant":3605,"gems":[40119]},
{"id":46968,"enchant":3832,"gems":[40129,49110,40119]},
{"id":47111,"enchant":3850,"gems":[40119,0]},
{"id":45487,"enchant":3860,"gems":[40119,40119,0]},
{"id":47076,"gems":[40129,40119,40119]},
{"id":48645,"enchant":3822,"gems":[40129,40119]},
{"id":47003,"enchant":3606,"gems":[40129,40119]},
{"id":47157,"gems":[40119]},
{"id":45471,"gems":[40166]},
{"id":45158},
{"id":47451},
{"id":46097,"enchant":3788,"gems":[40119]},
{"id":46964,"enchant":3849,"gems":[40119]},
{"id":47661}
]}
19 changes: 19 additions & 0 deletions ui/protection_paladin/gear_sets/p4.gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{"items": [
{"id":50640,"enchant":3818,"gems":[41380,40141]},
{"id":50682,"gems":[40119]},
{"id":50660,"enchant":3852,"gems":[40167,40119]},
{"id":50718,"enchant":3605,"gems":[40119]},
{"id":51265,"enchant":3297,"gems":[40141,40119]},
{"id":51901,"enchant":3850,"gems":[40119,0]},
{"id":51267,"enchant":3860,"gems":[40119,0]},
{"id":50991,"enchant":3601,"gems":[40141,40119,40119]},
{"id":49904,"enchant":3822,"gems":[40119,40119,40119]},
{"id":50625,"enchant":3606,"gems":[40119,40119]},
{"id":50642,"gems":[40119]},
{"id":50622,"gems":[40119]},
{"id":50364},
{"id":50344},
{"id":51893,"enchant":3788,"gems":[40119]},
{"id":50729,"enchant":1071,"gems":[40119]},
{"id":47661}
]}
19 changes: 19 additions & 0 deletions ui/protection_paladin/gear_sets/p4_preraid.gear.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{"items": [
{"id":48639,"enchant":3818,"gems":[41380,40129]},
{"id":45485,"gems":[40167]},
{"id":48637,"enchant":3852,"gems":[40119]},
{"id":45496,"enchant":1951,"gems":[40119]},
{"id":48641,"enchant":1953,"gems":[40166,40119]},
{"id":47570,"enchant":3850,"gems":[40166,0]},
{"id":48640,"enchant":3860,"gems":[40166,0]},
{"id":47072,"gems":[40119,40119]},
{"id":49904,"enchant":3822,"gems":[40119,40119,40119]},
{"id":49907,"enchant":3606,"gems":[40166,40119]},
{"id":45471,"gems":[40119]},
{"id":47149},
{"id":47080},
{"id":46021},
{"id":46097,"enchant":3788,"gems":[40119]},
{"id":46963,"enchant":3849},
{"id":47661}
]}
8 changes: 7 additions & 1 deletion ui/protection_paladin/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,24 @@ import {
import * as PresetUtils from '../core/preset_utils.js';

import PreraidGear from './gear_sets/preraid.gear.json';
import P4PreraidGear from './gear_sets/p4_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';

// Preset options for this spec.
// Eventually we will import these values for the raid sim too, so its good to
// keep them in a separate file.

export const PRERAID_PRESET = PresetUtils.makePresetGear('PreRaid', PreraidGear);
export const PRERAID_PRESET = PresetUtils.makePresetGear('P1 PreRaid Preset', PreraidGear);
export const P4_PRERAID_PRESET = PresetUtils.makePresetGear('P4 PreRaid Preset', P4PreraidGear);
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 = ProtectionPaladinRotation.create({
hammerFirst: false,
Expand Down
5 changes: 4 additions & 1 deletion ui/protection_paladin/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class ProtectionPaladinSimUI extends IndividualSimUI<Spec.SpecProtectionP
},
defaults: {
// Default equipped gear.
gear: Presets.P2_PRESET.gear,
gear: Presets.P3_PRESET.gear,
// Default EP weights for sorting gear in the gear picker.
epWeights: Stats.fromMap({
[Stat.StatArmor]: 0.07,
Expand Down Expand Up @@ -226,8 +226,11 @@ export class ProtectionPaladinSimUI extends IndividualSimUI<Spec.SpecProtectionP
// Preset gear configurations that the user can quickly select.
gear: [
Presets.PRERAID_PRESET,
Presets.P4_PRERAID_PRESET,
Presets.P1_PRESET,
Presets.P2_PRESET,
Presets.P3_PRESET,
Presets.P4_PRESET,
],
},

Expand Down

0 comments on commit 59bd8b5

Please sign in to comment.