From edcf066e0806e03e5c298627721c3d4417959d50 Mon Sep 17 00:00:00 2001 From: Kayla Glick Date: Sat, 11 Jan 2025 21:07:16 -0500 Subject: [PATCH] add thorns display pseudo to all tanks --- ui/protection_paladin/sim.ts | 4 +++- ui/tank_rogue/sim.ts | 4 +++- ui/tank_warlock/sim.ts | 6 ++++-- ui/tank_warrior/sim.ts | 1 + ui/warden_shaman/sim.ts | 4 +++- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ui/protection_paladin/sim.ts b/ui/protection_paladin/sim.ts index 5b290bc34f..df814d5f82 100644 --- a/ui/protection_paladin/sim.ts +++ b/ui/protection_paladin/sim.ts @@ -103,7 +103,9 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecProtectionPaladin, { Stat.StatShadowResistance, Stat.StatArcaneResistance, ], - displayPseudoStats: [], + displayPseudoStats: [ + PseudoStat.PseudoStatThornsDamage, + ], defaults: { // Default equipped gear. diff --git a/ui/tank_rogue/sim.ts b/ui/tank_rogue/sim.ts index c5bf49f82f..7c22e08296 100644 --- a/ui/tank_rogue/sim.ts +++ b/ui/tank_rogue/sim.ts @@ -63,7 +63,9 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecTankRogue, { // Resistances Stat.StatShadowResistance, ], - displayPseudoStats: [], + displayPseudoStats: [ + PseudoStat.PseudoStatThornsDamage, + ], defaults: { // Default equipped gear. diff --git a/ui/tank_warlock/sim.ts b/ui/tank_warlock/sim.ts index d5ee5eb5fb..925a053d4e 100644 --- a/ui/tank_warlock/sim.ts +++ b/ui/tank_warlock/sim.ts @@ -5,7 +5,7 @@ import * as OtherInputs from '../core/components/other_inputs.js'; import { Phase } from '../core/constants/other.js'; import { IndividualSimUI, registerSpecConfig } from '../core/individual_sim_ui.js'; import { Player } from '../core/player.js'; -import { Class, Faction, ItemSlot, PartyBuffs, Race, Spec, Stat } from '../core/proto/common.js'; +import { Class, Faction, ItemSlot, PartyBuffs, PseudoStat, Race, Spec, Stat } from '../core/proto/common.js'; import { WarlockRune } from '../core/proto/warlock.js'; import { Stats } from '../core/proto_utils/stats.js'; import { getSpecIcon } from '../core/proto_utils/utils.js'; @@ -82,7 +82,9 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecTankWarlock, { // Resistances Stat.StatShadowResistance, ], - displayPseudoStats: [], + displayPseudoStats: [ + PseudoStat.PseudoStatThornsDamage, + ], defaults: { // Default equipped gear. diff --git a/ui/tank_warrior/sim.ts b/ui/tank_warrior/sim.ts index f5b90ce0bf..e2cee35fee 100644 --- a/ui/tank_warrior/sim.ts +++ b/ui/tank_warrior/sim.ts @@ -67,6 +67,7 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecTankWarrior, { displayPseudoStats: [ PseudoStat.PseudoStatThornsDamage, ], + defaults: { // Default equipped gear. gear: Presets.DefaultGear.gear, diff --git a/ui/warden_shaman/sim.ts b/ui/warden_shaman/sim.ts index 8328459f0d..2ff7dddcee 100644 --- a/ui/warden_shaman/sim.ts +++ b/ui/warden_shaman/sim.ts @@ -83,7 +83,9 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecWardenShaman, { // Resistances Stat.StatShadowResistance, ], - displayPseudoStats: [], + displayPseudoStats: [ + PseudoStat.PseudoStatThornsDamage, + ], defaults: { race: Race.RaceTroll,