mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-23 19:46:28 -05:00
Add Crab Tank 80dmg under "Combo" name
This commit is contained in:
@@ -548,7 +548,7 @@ function specialWeaponDamages(
|
||||
id: nanoid(),
|
||||
distance: 0,
|
||||
value: R.sum(cannonDamages.map((v) => v.value)),
|
||||
type: "SPECIAL_CANNON",
|
||||
type: "COMBO",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ describe("calculateDamage()", () => {
|
||||
});
|
||||
|
||||
for (const damage of analyzed.stats.damages) {
|
||||
if (damage.type === "COMBO") continue;
|
||||
calculate({ mainWeaponId, damageType: damage.type });
|
||||
}
|
||||
}
|
||||
@@ -89,6 +90,7 @@ describe("calculateDamage()", () => {
|
||||
|
||||
for (const damage of analyzedWithSpecialWeapon.stats
|
||||
.specialWeaponDamages) {
|
||||
if (damage.type === "COMBO") continue;
|
||||
calculate({
|
||||
specialWeaponId,
|
||||
damageType: damage.type,
|
||||
|
||||
@@ -129,7 +129,9 @@ export function resolveAllUniqueDamageTypes({
|
||||
? analyzed.stats.specialWeaponDamages.map((d) => d.type)
|
||||
: analyzed.stats.damages.map((d) => d.type);
|
||||
|
||||
return R.unique(damageTypes).filter((dmg) => !dmg.includes("SECONDARY"));
|
||||
return R.unique(damageTypes).filter(
|
||||
(dmg) => !dmg.includes("SECONDARY") && dmg !== "COMBO",
|
||||
);
|
||||
}
|
||||
|
||||
function resolveFilteredDamages({
|
||||
|
||||
Reference in New Issue
Block a user