mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-01 07:24:30 +08:00
优化怪物手册,状态栏初步
This commit is contained in:
1 parent
ed4b0fe730
commit
0ecdcbdf34
22 files changed
+153
-30
No files matched your search
@@ -75,7 +75,6 @@ export function getDefDamage(
|
||||
if (!has(dam)) continue;
|
||||
if (dam.damage === origin) continue;
|
||||
if (dam.damage === res.at(-1)?.[1]) continue;
|
||||
if (last === dam.damage) break;
|
||||
last = dam.damage;
|
||||
res.push([ratio * i + addDef, dam.damage]);
|
||||
}
|
||||
@@ -121,7 +120,6 @@ export function getCriticalDamage(
|
||||
if (!has(dam)) continue;
|
||||
if (dam.damage === origin) continue;
|
||||
if (dam.damage === res.at(-1)?.[1]) continue;
|
||||
if (last === dam.damage) break;
|
||||
last = dam.damage;
|
||||
res.push([ratio * i + addAtk, dam.damage]);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import { ref } from 'vue';
|
||||
|
||||
const status = ref(false);
|
||||
|
||||
export default function init() {
|
||||
return { statusBarStatus: status };
|
||||
}
|
||||
|
||||
export { status };
|
||||
Reference in new issue
Block a user