feedback2 WG: 史尔特尔's 余烬 gives her a visible 禁疗 until she leaves — medics heal others, her own heals stop, HP regen and S3's start heal (无视禁疗) still reach her (GitHub #52)

This commit is contained in:
sganggs committed 2026-10-03 23:43:28 +08:00
1 parent 47df17171a
commit 1aed315579
4 files changed
+29 -4

No files matched your search

+9 -1
View File
@@ -835,7 +835,7 @@ export function fxAtlas() {
return _fx;
}
export const STATUS_KEYS = ['stun', 'freeze', 'cold', 'stealth', 'shield', 'fragile', 'sleep', 'invuln', 'silence', 'slow', 'bind', 'fear', 'weaken', 'levitate', 'taunt', 'burn', 'neural', 'necrosis', 'blocked', 'skill'];
export const STATUS_KEYS = ['stun', 'freeze', 'cold', 'stealth', 'shield', 'fragile', 'sleep', 'invuln', 'silence', 'slow', 'bind', 'fear', 'weaken', 'levitate', 'taunt', 'burn', 'neural', 'necrosis', 'blocked', 'skill', 'healFree'];
function drawStatusIcon(c, key, x, y, s) {
const cx = x + s / 2, cy = y + s / 2;
@@ -930,6 +930,14 @@ function drawStatusIcon(c, key, x, y, s) {
c.fillStyle = '#ffe066'; star(c, cx, cy, 10, 4.5);
break;
}
case 'healFree': { // 禁疗: a green heal cross struck through in red
disc('rgba(15,40,20,0.92)', '#7ee08a');
c.fillStyle = '#9dffa8';
c.fillRect(cx - 2.5, cy - 9, 5, 18); c.fillRect(cx - 9, cy - 2.5, 18, 5);
c.strokeStyle = '#ff5a5a'; c.lineWidth = 3;
c.beginPath(); c.moveTo(cx - 10, cy + 10); c.lineTo(cx + 10, cy - 10); c.stroke();
break;
}
default: disc('rgba(30,30,30,0.9)', '#ccc');
}
}