From fc4e93654b72f0778730e5f4343fe432c2d9ce54 Mon Sep 17 00:00:00 2001 From: 67au Date: Sun, 15 Feb 2026 20:40:32 +0800 Subject: [PATCH 01/30] fix(stats): split value types Signed-off-by: 67au --- src/components/cards/AbilitiesCard.vue | 2 +- src/components/cards/BestialBondCard.vue | 2 +- src/components/chips/StatsChips.vue | 10 +++++----- src/components/shared/GearViewer.vue | 2 +- src/utils/index.ts | 7 ++----- src/views/CompareView.vue | 2 +- 6 files changed, 11 insertions(+), 14 deletions(-) diff --git a/src/components/cards/AbilitiesCard.vue b/src/components/cards/AbilitiesCard.vue index 599b45b..5a07a79 100644 --- a/src/components/cards/AbilitiesCard.vue +++ b/src/components/cards/AbilitiesCard.vue @@ -49,7 +49,7 @@ function toStatusStatText(statValue: Array) { - {{ getStatValueName(key, value) }} + {{ getStatValueName('abilities.' + key, value) }} {{ getStatName(key) }} diff --git a/src/components/cards/BestialBondCard.vue b/src/components/cards/BestialBondCard.vue index d70e92a..12e9b8f 100644 --- a/src/components/cards/BestialBondCard.vue +++ b/src/components/cards/BestialBondCard.vue @@ -44,7 +44,7 @@ const entry = inject>('entry') diff --git a/src/components/chips/StatsChips.vue b/src/components/chips/StatsChips.vue index 409f818..2af2c87 100644 --- a/src/components/chips/StatsChips.vue +++ b/src/components/chips/StatsChips.vue @@ -80,7 +80,7 @@ const defaults: DefaultsOptions = props.mini - {{ getStatValueName(stat.key, stat.value) }} + {{ getStatValueName(stat.statKey, stat.value) }}