This commit is contained in:
AncTe committed 2023-01-02 23:30:30 +08:00
1 parent e275669489
commit 64a4fa05a8
7 files changed
+14 -19

No files matched your search

-8
View File
@@ -78,10 +78,6 @@ export function getDefDamage(
res.push([ratio * i + addDef, dam.damage]);
}
if ((res.at(-1)?.[1] ?? 1) <= 0) {
res.push([res.at(-1)![0] + 1, 0]);
}
return res;
}
@@ -122,9 +118,5 @@ export function getCriticalDamage(
res.push([ratio * i + addAtk, dam.damage]);
}
if ((res.at(-1)?.[1] ?? 1) <= 0) {
res.push([res.at(-1)![0] + 1, 0]);
}
return res;
}