mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-12-02 23:34:32 +08:00
fix: 显伤 & 零碎文档
This commit is contained in:
1 parent
0084dafaf0
commit
2a6a1d6cfe
4 files changed
+37
-3
No files matched your search
@@ -258,7 +258,7 @@ export class EnemyCollection implements RangeCollection<DamageEnemy> {
|
||||
if (!dam || objs[id]?.event.noPass) continue;
|
||||
|
||||
// 地图伤害
|
||||
if (dam.damage !== 0) {
|
||||
if (dam.damage !== 0 && !dam.ambush) {
|
||||
const damage = core.formatBigNumber(dam.damage, true);
|
||||
const color = dam.damage < 0 ? '#6eff6a' : '#fa3';
|
||||
core.status.damage.extraData.push({
|
||||
@@ -280,7 +280,7 @@ export class EnemyCollection implements RangeCollection<DamageEnemy> {
|
||||
});
|
||||
}
|
||||
|
||||
if (dam.repulse) {
|
||||
if (dam.repulse && dam.damage <= 0) {
|
||||
core.status.damage.extraData.push({
|
||||
text: '阻',
|
||||
px: 32 * x + 16,
|
||||
|
||||
Reference in new issue
Block a user