mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-08 12:16:12 -05:00
Fix Brella for consumption table
This commit is contained in:
@@ -217,7 +217,7 @@ function inkConsumeTypeToParamsKeys(
|
||||
): Array<keyof MainWeaponParams> {
|
||||
switch (type) {
|
||||
case "NORMAL":
|
||||
return ["InkConsume"];
|
||||
return ["InkConsume", "InkConsume_WeaponShelterShotgunParam"];
|
||||
case "SWING":
|
||||
return ["InkConsume_SwingParam", "InkConsume_WeaponSwingParam"];
|
||||
case "SLOSH":
|
||||
|
||||
@@ -597,7 +597,6 @@
|
||||
"WeaponSpeedType": "Fast",
|
||||
"DamageParam_ValueMax": 400,
|
||||
"CanopyHP": 2000,
|
||||
"InkConsumeUmbrella_WeaponShelterCanopyParam": 0,
|
||||
"InkConsume_WeaponShelterShotgunParam": 0.04
|
||||
},
|
||||
"7010": {
|
||||
|
||||
@@ -94,15 +94,17 @@ export default function BuildAnalyzerPage() {
|
||||
/>
|
||||
</StatCategory>
|
||||
)}
|
||||
<StatCategory
|
||||
title={t("stat.category.actionsPerInkTank")}
|
||||
containerClassName="analyzer__table-container"
|
||||
>
|
||||
<ConsumptionTable
|
||||
options={analyzed.stats.fullInkTankOptions}
|
||||
subWeaponId={analyzed.weapon.subWeaponSplId}
|
||||
/>
|
||||
</StatCategory>
|
||||
{analyzed.stats.fullInkTankOptions.length > 0 && (
|
||||
<StatCategory
|
||||
title={t("stat.category.actionsPerInkTank")}
|
||||
containerClassName="analyzer__table-container"
|
||||
>
|
||||
<ConsumptionTable
|
||||
options={analyzed.stats.fullInkTankOptions}
|
||||
subWeaponId={analyzed.weapon.subWeaponSplId}
|
||||
/>
|
||||
</StatCategory>
|
||||
)}
|
||||
<StatCategory title={t("stat.category.movement")}>
|
||||
<StatCard
|
||||
stat={analyzed.stats.swimSpeed}
|
||||
|
||||
@@ -159,7 +159,9 @@ function parametersToMainWeaponResult(
|
||||
InkConsume_WeaponWideSwingParam:
|
||||
params["WeaponWideSwingParam"]?.["InkConsume"],
|
||||
InkConsumeUmbrella_WeaponShelterCanopyParam:
|
||||
params["spl__WeaponShelterCanopyParam"]?.["InkConsumeUmbrella"],
|
||||
params["spl__WeaponShelterCanopyParam"]?.["InkConsumeUmbrella"] !== 0
|
||||
? params["spl__WeaponShelterCanopyParam"]?.["InkConsumeUmbrella"]
|
||||
: undefined,
|
||||
InkConsume_WeaponShelterShotgunParam:
|
||||
params["spl__WeaponShelterShotgunParam"]?.["InkConsume"],
|
||||
InkConsume_SideStepParam: params["SideStepParam"]?.["InkConsume"],
|
||||
|
||||
Reference in New Issue
Block a user