From 631de7a4859a74b77ed9e3c6bf8f0972d2f8105e Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 17 Mar 2024 12:21:48 +0200 Subject: [PATCH] Big Bubbler duration explanation Closes #1451 --- app/features/build-analyzer/routes/analyzer.tsx | 10 ++++++++++ locales/en/analyzer.json | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app/features/build-analyzer/routes/analyzer.tsx b/app/features/build-analyzer/routes/analyzer.tsx index 312beeabb..06c1dd155 100644 --- a/app/features/build-analyzer/routes/analyzer.tsx +++ b/app/features/build-analyzer/routes/analyzer.tsx @@ -33,6 +33,7 @@ import { type BuildAbilitiesTupleWithUnknown, type MainWeaponId, type SubWeaponId, + BIG_BUBBLER_ID, } from "~/modules/in-game-lists"; import { atOrError, nullFilledArray, removeDuplicates } from "~/utils/arrays"; import { damageTypeTranslationString } from "~/utils/i18next"; @@ -472,6 +473,15 @@ function BuildAnalyzerPage() { {t(`weapons:SPECIAL_${analyzed.weapon.specialWeaponSplId}`)} } + textBelow={ + analyzed.weapon.specialWeaponSplId === BIG_BUBBLER_ID + ? t("analyzer:bigBubblerExplanation", { + weapon: t( + `weapons:SPECIAL_${analyzed.weapon.specialWeaponSplId}`, + ), + }) + : undefined + } >