✅ Geb regeneration removes 3 damage from self
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_actions.py::test_geb_regeneration_removes_3_damage_from_self |
Geb uses Regeneration to remove 3 damage from itself.
Preconditions
-
P1 Main Phase, P1 has 5 AP
-
Lane 0: P1's Geb (#044) — HP=9, 6 damage, READIED
Action
- Execute Geb's Regeneration (ability[1], 0 AP, ready, 1x)
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 reduced by 3 → 3 remaining damage
-
Geb: NOT exhausted (ready_required — does NOT exhaust)
-
P1 AP: 5 (0 AP cost — unchanged)
Assertions
assert geb_after.damage == 3
assert geb_after.state == DemonState.READIED
assert result.players[Side.PLAYER_1].ap == 5