mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-10-31 23:20:18 +08:00
完善ui
This commit is contained in:
1 parent
e275669489
commit
64a4fa05a8
7 files changed
+14
-19
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user