feedback5 O4: 艾丽妮's 审判之火 charge does not outlive her deployment (a buff on her: a redeploy starts without one); golden unchanged

This commit is contained in:
sganggs committed 2026-10-05 23:53:55 +08:00
1 parent a62728c188
commit b6aa74e87e
2 files changed
+17 -3

No files matched your search

+7
View File
@@ -136,6 +136,13 @@ test('T1 审判之火 vs a ground enemy: one draw per physical instance at 50 %;
approx(h.b.dealDamage(u, g, { amount: 1000, type: 'phys' }), 1000 - 400 * (1 - pen), 'pierced');
assert.equal(h.b.rng.state(), st, 'no draw while a charge is held');
assert.equal(u.mem.ireneCharge, false, 'spent');
// a held charge does not outlive her deployment (a buff on her)
assert.equal(h.b.dealDamage(u, fly, { amount: 1000, type: 'phys' }), 0, 'dodged again');
assert.equal(u.mem.ireneCharge, true, 'held');
h.b.retreat(u);
h.b.redeploy(u);
assert.ok(u.alive && u.deployed, 'redeployed');
assert.equal(u.mem.ireneCharge, false, 'a new deployment holds no charge');
done(h);
}
});