Build Analyzer: Add Splat Brella ISM shot stat Closes #1424

This commit is contained in:
Kalle
2023-07-30 10:45:32 +03:00
parent 2598faa226
commit 756cfd5445
2 changed files with 10 additions and 2 deletions

View File

@@ -1254,7 +1254,8 @@
"specialWeaponId": 14,
"MoveSpeed": 0.065,
"DamageParam_ValueMax": 810,
"InkConsumeUmbrella_WeaponShelterCanopyParam": 0.3
"InkConsumeUmbrella_WeaponShelterCanopyParam": 0.3,
"InkConsume_WeaponShelterShotgunParam": 0.0632499977946
},
"6010": {
"SpecialPoint": 190,

View File

@@ -149,6 +149,13 @@ function parametersToMainWeaponResult(
);
};
const InkConsume_WeaponShelterShotgunParam = () => {
// Splat Brella ink consumption not listed in params
if (weapon.Id === 6000) return 0.0632499977946;
return params["spl__WeaponShelterShotgunParam"]?.["InkConsume"];
};
const BlastParam_DistanceDamage = () => {
// REEF-LUX has distance damage listed in params
// but actually doesn't deal it in game
@@ -360,7 +367,7 @@ function parametersToMainWeaponResult(
? params["spl__WeaponShelterCanopyParam"]?.["InkConsumeUmbrella"]
: undefined,
InkConsume_WeaponShelterShotgunParam:
params["spl__WeaponShelterShotgunParam"]?.["InkConsume"],
InkConsume_WeaponShelterShotgunParam(),
InkConsume_SideStepParam: params["SideStepParam"]?.["InkConsume"],
InkConsume_SwingParam:
params["spl__WeaponSaberParam"]?.["SwingParam"]?.["InkConsume"],