From 1edbda787fe188efc078697ecc7e950402c59538 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Mon, 26 Jan 2026 20:06:25 +0200 Subject: [PATCH] Show Burst Bomb 0 distance as "Direct" in comp analyzer --- app/features/build-analyzer/core/stats.ts | 2 +- app/features/object-damage-calculator/calculator-constants.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/features/build-analyzer/core/stats.ts b/app/features/build-analyzer/core/stats.ts index 45aff79be..7dd3bb4a3 100644 --- a/app/features/build-analyzer/core/stats.ts +++ b/app/features/build-analyzer/core/stats.ts @@ -620,7 +620,7 @@ function subWeaponDefenseDamages( R.sum(arrayValues.map((v) => v.value)), 1, ), - type, + type: "BOMB_DIRECT", }); } diff --git a/app/features/object-damage-calculator/calculator-constants.ts b/app/features/object-damage-calculator/calculator-constants.ts index 49242d8c9..6b30f04a7 100644 --- a/app/features/object-damage-calculator/calculator-constants.ts +++ b/app/features/object-damage-calculator/calculator-constants.ts @@ -99,7 +99,8 @@ export const damagePriorities: Array< ["MAIN", [8000, 8010, 8020], "SPLATANA_HORIZONTAL", "Saber_Shot"], ["MAIN", [8000, 8010, 8020], "SPLATANA_HORIZONTAL_DIRECT", "Saber_Slash"], - ["SUB", [0, 2, 7], "BOMB_NORMAL", "Bomb"], // TODO: could also consider "Bomb_DirectHit" it is almost the same but has different ratio for Big Bubbler core: 0.5 vs. 1.5 + ["SUB", [0, 2, 7], "BOMB_NORMAL", "Bomb"], + ["SUB", [2], "BOMB_DIRECT", "Bomb_DirectHit"], ["SUB", [6], "BOMB_DIRECT", "Bomb_CurlingBullet"], ["SUB", [6], "BOMB_NORMAL", "Bomb"], ["SUB", [13], "SPLASH", "Bomb_TorpedoSplashBurst"],