Skip to content

Commit

Permalink
Merge pull request #3610 from Horatio27/enh_itemswap_fix
Browse files Browse the repository at this point in the history
updated Enh inputs using deprecated proto.
  • Loading branch information
Horatio27 authored Sep 4, 2023
2 parents 17c5186 + 931b9d8 commit b0b3c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/enhancement_shaman/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const EnhancmentItemSwapInputs = InputHelpers.MakeItemSwapInput<Spec.Spec
//ItemSlot.ItemSlotRanged, Not support yet
],
labelTooltip: 'Start with the swapped items until Fire Elemntal has been summoned, swap back to normal gear set. Weapons come pre enchanted with FT9 and FT10. If a slot is empty it will not be used in the swap',
showWhen: (player: Player<Spec.SpecEnhancementShaman>) => (player.getRotation().totems?.useFireElemental && player.getRotation().enableItemSwap) || false
showWhen: (player: Player<Spec.SpecEnhancementShaman>) => (player.getSpecOptions().totems?.useFireElemental && player.getRotation().enableItemSwap) || false
})

export const EnhancementShamanRotationConfig = {
Expand All @@ -97,7 +97,7 @@ export const EnhancementShamanRotationConfig = {
fieldName: 'enableItemSwap',
label: 'Enable Item Swapping',
labelTooltip: 'Toggle on/off item swapping',
showWhen: (player: Player<Spec.SpecEnhancementShaman>) => player.getRotation().totems?.useFireElemental || false
showWhen: (player: Player<Spec.SpecEnhancementShaman>) => player.getSpecOptions().totems?.useFireElemental || false
}),
EnhancmentItemSwapInputs,
InputHelpers.makeRotationEnumInput<Spec.SpecEnhancementShaman, RotationType>({
Expand Down

0 comments on commit b0b3c5c

Please sign in to comment.