From 532083fda443a32b15a7f1dec636a5ac3b868aa6 Mon Sep 17 00:00:00 2001 From: Adrian Klingen Date: Tue, 14 Jan 2025 20:56:53 +0100 Subject: [PATCH] Add Item Swap slots to Arms Sim --- ui/warrior/arms/sim.ts | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/ui/warrior/arms/sim.ts b/ui/warrior/arms/sim.ts index f9b00634a0..a3479b2299 100644 --- a/ui/warrior/arms/sim.ts +++ b/ui/warrior/arms/sim.ts @@ -6,7 +6,7 @@ import { IndividualSimUI, registerSpecConfig } from '../../core/individual_sim_u import { Player } from '../../core/player'; import { PlayerClasses } from '../../core/player_classes'; import { APLRotation } from '../../core/proto/apl'; -import { Debuffs, Faction, IndividualBuffs, PartyBuffs, PseudoStat, Race, RaidBuffs, Spec, Stat } from '../../core/proto/common'; +import { Debuffs, Faction, IndividualBuffs, ItemSlot, PartyBuffs, PseudoStat, Race, RaidBuffs, Spec, Stat } from '../../core/proto/common'; import { Stats, UnitStat } from '../../core/proto_utils/stats'; import * as WarriorInputs from '../inputs'; import * as Presets from './presets'; @@ -106,6 +106,25 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecArmsWarrior, { otherInputs: { inputs: [WarriorInputs.StartingRage(), WarriorInputs.StanceSnapshot(), OtherInputs.InputDelay, OtherInputs.TankAssignment, OtherInputs.InFrontOfTarget], }, + itemSwapSlots: [ + ItemSlot.ItemSlotHead, + ItemSlot.ItemSlotNeck, + ItemSlot.ItemSlotShoulder, + ItemSlot.ItemSlotBack, + ItemSlot.ItemSlotChest, + ItemSlot.ItemSlotWrist, + ItemSlot.ItemSlotHands, + ItemSlot.ItemSlotWaist, + ItemSlot.ItemSlotLegs, + ItemSlot.ItemSlotFeet, + ItemSlot.ItemSlotFinger1, + ItemSlot.ItemSlotFinger2, + ItemSlot.ItemSlotTrinket1, + ItemSlot.ItemSlotTrinket2, + ItemSlot.ItemSlotMainHand, + ItemSlot.ItemSlotOffHand, + ItemSlot.ItemSlotRanged, + ], encounterPicker: { // Whether to include 'Execute Duration (%)' in the 'Encounter' section of the settings tab. showExecuteProportion: true,