mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-11 16:14:30 +08:00
第二章二区准备
This commit is contained in:
1 parent
98123bede8
commit
b84b1e6137
57 files changed
+1502
-155
No files matched your search
@@ -21,11 +21,10 @@ export function getAddStatus(equip: Equip) {
|
||||
return (
|
||||
<div class="equip-add-detail">
|
||||
{keys.map(v => {
|
||||
const value =
|
||||
(equip.value[v] ?? 0) +
|
||||
Math.floor(
|
||||
const value = Math.floor(
|
||||
(equip.value[v] ?? 0) * core.getBuff(v) +
|
||||
(core.status.hero[v] * (equip.percentage[v] ?? 0)) / 100
|
||||
);
|
||||
);
|
||||
|
||||
return (
|
||||
<span style="display: flex">
|
||||
@@ -72,7 +71,9 @@ export function getNowStatus(nowEquip?: Equip, onCol: boolean = false) {
|
||||
|
||||
let add = 0;
|
||||
if (has(nowEquip)) {
|
||||
add += nowEquip.value[v] ?? 0;
|
||||
add += Math.floor(
|
||||
(nowEquip.value[v] ?? 0) * core.getBuff(v)
|
||||
);
|
||||
const per = Math.floor(
|
||||
(nowEquip.percentage[v] * core.getStatus(v)) / 100
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user