fix: include Vulpisfoglia Hunt addition on first damage

This commit is contained in:
星闌 committed 2026-10-11 12:48:59 +08:00
1 parent bc50cac01f
commit b87fcb3ac9
9 files changed
+250 -129

No files matched your search

+2 -2
View File
@@ -1249,7 +1249,7 @@ test('忍冬 追凶 never feeds on itself: a hit turned into HP loss credited to
const e = h.enemy('enemy_times');
const atks = u.stats.attacks;
assert.ok(atks >= 3);
// first attack marks the enemy (1 HP), every later attack: 1 HP + one 追凶 bonus instance (1 HP)
assert.equal(e.s.maxHp - e.hp, 1 + 2 * (atks - 1));
// Every attack, the first included: 1 HP + one 追凶 bonus instance (1 HP), never recursive bonuses.
assert.equal(e.s.maxHp - e.hp, 2 * atks);
done(h);
});