Skip to main content

✅ Geb regeneration floors at zero

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_geb_regeneration_floors_at_zero

Geb uses Regeneration to remove 3 damage from itself.

Preconditions

  • Geb: 1 damage, READIED

Action

  • Execute Geb's Regeneration
result = execute_ability(state, geb_on_field, ability_idx=1, targets=None)
geb_after = next(d for d in result.demons if d.unit_id == "044")

Expected Postconditions

  • Geb: damage = 0 (floored — cannot go negative)

Assertions

assert geb_after.damage == 0