feedback2: merge GitHub master (PR #48: 要塞 cannot hit air units — issue #35; 莫斯提马's slow shows its status icon — issue #16)

# Conflicts:
#	data/chess.json
This commit is contained in:
sganggs committed 2026-10-04 02:17:02 +08:00
commit 5f83d30cd1
7 files changed
+41 -7

No files matched your search

+3 -1
View File
@@ -109,7 +109,9 @@ test('莫斯提马 S3: ripple hits every enemy in range, ATK +90 %, knock-back;
assert.ok(h.runUntil(() => u.skill.active, 10));
approx(u.s.atk, u.base.atk * (1 + bb.atk), 1e-6);
h.run(0.3);
approx(es[0].findBuff(`mostma:slow:${u.id}`).mods.moveMul, 1 + t1.move_speed * bb.talent_scale, 1e-9, 'slow ×3');
const slowBuff = es[0].findBuff(`mostma:slow:${u.id}`);
approx(slowBuff.mods.moveMul, 1 + t1.move_speed * bb.talent_scale, 1e-9, 'slow ×3');
assert.equal(slowBuff.status, 'slow', 'carries the slow status so the client draws its icon');
const x0 = es.map((e) => e.x);
const n0 = dmgBy(h, u).length;
h.run(u.s.interval + 0.1);