Skip to main content

✅ Vapula healing floors at zero

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestVapulaDamageToHealing::test_vapula_healing_floors_at_zero

Vapula's passive removes more damage than target has — floors at 0.

Preconditions

  • Lane 0: P1's Vapula (#100) — READIED

  • Lane 0: P2's Duban (#001) — 0 damage (fully healthy)

Action

  • Fire DAMAGE_DEALT for Vapula -> Duban, value=4

Expected Postconditions

  • Duban's damage: max(0, 0 - 8) = 0 (stays at 0 — cannot go negative)

Assertions

assert duban_after.damage == 0, (
f"Damage cannot go below 0. Got {duban_after.damage}."
)