mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-16 17:00:02 -05:00
parent
518b778052
commit
bfc3cbfc87
|
|
@ -140,7 +140,7 @@ export const objectDamageJsonKeyPriority: Record<
|
|||
Slosher_WashtubBombCore: null,
|
||||
Slosher_Washtub: null,
|
||||
Slosher: null,
|
||||
Spinner: null,
|
||||
Spinner: ["NORMAL_MAX", "NORMAL_MIN", "NORMAL_MAX_FULL_CHARGE"],
|
||||
Sprinkler: null,
|
||||
Stringer_Short: null,
|
||||
Stringer: null,
|
||||
|
|
|
|||
|
|
@ -113,4 +113,30 @@ CalculateDamage(
|
|||
}
|
||||
);
|
||||
|
||||
const HYDRA_SPLATLING_ID = 4020;
|
||||
CalculateDamage(
|
||||
"Hits to destroy Minimum < Maximum < Maximum (Fully charged)",
|
||||
() => {
|
||||
const min = calculate({
|
||||
mainWeaponId: HYDRA_SPLATLING_ID,
|
||||
damageType: "NORMAL_MIN",
|
||||
})[0]?.damages[0]?.hitsToDestroy;
|
||||
const max = calculate({
|
||||
mainWeaponId: HYDRA_SPLATLING_ID,
|
||||
damageType: "NORMAL_MAX",
|
||||
})[0]?.damages[0]?.hitsToDestroy;
|
||||
const maxFullyCharged = calculate({
|
||||
mainWeaponId: HYDRA_SPLATLING_ID,
|
||||
damageType: "NORMAL_MAX_FULL_CHARGE",
|
||||
})[0]?.damages[0]?.hitsToDestroy;
|
||||
|
||||
assert.ok(typeof min === "number");
|
||||
assert.ok(typeof max === "number");
|
||||
assert.ok(typeof maxFullyCharged === "number");
|
||||
|
||||
assert.ok(min > max);
|
||||
assert.ok(max > maxFullyCharged);
|
||||
}
|
||||
);
|
||||
|
||||
CalculateDamage.run();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user