Skip to content

Commit f3a13d8

Browse files
committed
add shaodwPriestDPS input to mage
1 parent 152651e commit f3a13d8

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

ui/core/components/inputs/buffs_debuffs.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { IconPickerStatOption, PickerStatOptions } from './stat_options';
2222
import { Player } from '../../player';
2323
import { raceI18nKeys } from '../../../i18n/entity_mapping';
2424
import { Party } from '../../party';
25+
import { NumberPicker } from '../pickers/number_picker';
2526

2627
///////////////////////////////////////////////////////////////////////////
2728
// RAID BUFFS
@@ -203,6 +204,12 @@ export const PowerInfusion = makeMultistateIndividualBuffInput({
203204
fieldName: 'powerInfusions',
204205
label: 'Power Infusions',
205206
});
207+
export const ShadowPriestDPS = makeMultistateIndividualBuffInput({
208+
actionId: ActionId.fromSpellId(34914),
209+
numStates: 1500,
210+
fieldName: 'shadowPriestDps',
211+
label: 'Vampiric Touch',
212+
});
206213
export const UnleashedRage = makeBooleanIndividualBuffInput({ actionId: ActionId.fromSpellId(30811), fieldName: 'unleashedRage', label: 'Unleashed Rage' });
207214

208215
export const PARTY_BUFFS_CONFIG = [
@@ -241,6 +248,11 @@ export const PARTY_BUFFS_CONFIG = [
241248
picker: IconPicker,
242249
stats: [Stat.StatMP5],
243250
},
251+
{
252+
config: ShadowPriestDPS,
253+
picker: IconPicker,
254+
stats: [Stat.StatMP5],
255+
},
244256
{
245257
config: MoonkinAura,
246258
picker: IconPicker,
@@ -325,7 +337,7 @@ export const PARTY_BUFFS_CONFIG = [
325337
config: GraceOfAirTotem,
326338
picker: IconPicker,
327339
stats: [Stat.StatAgility],
328-
},
340+
}
329341
] as PickerStatOptions[];
330342

331343
export const BUFFS_CONFIG = [
@@ -384,7 +396,7 @@ export const BUFFS_CONFIG = [
384396
config: PowerInfusion,
385397
picker: IconPicker,
386398
stats: [Stat.StatSpellHasteRating],
387-
},
399+
}
388400
] as PickerStatOptions[];
389401

390402
// Debuffs

ui/mage/dps/sim.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecMage, {
6565
excludeBuffDebuffInputs: [],
6666
// Inputs to include in the 'Other' section on the settings tab.
6767
otherInputs: {
68-
inputs: [OtherInputs.InputDelay, OtherInputs.DistanceFromTarget, OtherInputs.TankAssignment],
68+
inputs: [OtherInputs.InputDelay, OtherInputs.DistanceFromTarget, OtherInputs.TankAssignment, OtherInputs.ShadowPriestDPS],
6969
},
7070
itemSwapSlots: [ItemSlot.ItemSlotMainHand, ItemSlot.ItemSlotOffHand, ItemSlot.ItemSlotTrinket1, ItemSlot.ItemSlotTrinket2],
7171
encounterPicker: {

0 commit comments

Comments
 (0)