diff --git a/app/modules/analyzer/weapon-params.json b/app/modules/analyzer/weapon-params.json index 0ab93a6be..89d8010e9 100644 --- a/app/modules/analyzer/weapon-params.json +++ b/app/modules/analyzer/weapon-params.json @@ -1133,7 +1133,7 @@ }, "9": { "overwrites": { - "LaserFrame": { + "SpecialDurationFrame": { "High": 240, "Low": 180, "Mid": 210 diff --git a/scripts/create-analyzer-json.ts b/scripts/create-analyzer-json.ts index 59033634f..06ccf994f 100644 --- a/scripts/create-analyzer-json.ts +++ b/scripts/create-analyzer-json.ts @@ -276,9 +276,13 @@ function parametersToSpecialWeaponResult(params: any) { } } - if (result["RainyFrame"]) { - result["SpecialDurationFrame"] = result["RainyFrame"]; - result["RainyFrame"] = undefined; + const specialDurationFrameKeyAlises = ["LaserFrame", "RainyFrame"]; + + for (const key of specialDurationFrameKeyAlises) { + if (!result[key]) continue; + + result["SpecialDurationFrame"] = result[key]; + result[key] = undefined; } return { overwrites: unwrapSubSpecialSpecUpList(result) };