From ec2133b9c8fd0ef3b0f628ce086fe6b233791a90 Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Tue, 6 Dec 2022 15:34:00 +0200 Subject: [PATCH] Analyzer: Fix Splattershot Pro negative run speed Closes #1176 --- app/modules/analyzer/weapon-params.json | 12 ------------ scripts/create-analyzer-json.ts | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/app/modules/analyzer/weapon-params.json b/app/modules/analyzer/weapon-params.json index 4bc939333..3dbda784d 100644 --- a/app/modules/analyzer/weapon-params.json +++ b/app/modules/analyzer/weapon-params.json @@ -141,10 +141,6 @@ "ConsumeRt_Main": { "High": 0.5, "Mid": 0.7 - }, - "MoveVelRt_Shot": { - "High": -1, - "Mid": -1 } }, "MoveSpeed": 0.055, @@ -162,10 +158,6 @@ "ConsumeRt_Main": { "High": 0.5, "Mid": 0.7 - }, - "MoveVelRt_Shot": { - "High": -1, - "Mid": -1 } }, "MoveSpeed": 0.055, @@ -422,10 +414,6 @@ "ConsumeRt_Main": { "High": 0.5, "Mid": 0.7 - }, - "MoveVelRt_Shot": { - "High": -1, - "Mid": -1 } }, "TripleShotSpanFrame": 20, diff --git a/scripts/create-analyzer-json.ts b/scripts/create-analyzer-json.ts index 0043fde2d..3f4c92d3f 100644 --- a/scripts/create-analyzer-json.ts +++ b/scripts/create-analyzer-json.ts @@ -463,6 +463,7 @@ function resolveOverwritesWithArbitraryKeys( paramsObj as Record )) { if (!key.startsWith("Overwrite_")) continue; + if (value === -1) continue; let abilityKey = key.replace("Overwrite_", "");