✅ Azazel serve applies pwr status to target
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_actions.py::test_azazel_serve_applies_pwr_status_to_target |
Azazel uses Serve to give an ally +2 PWR status.
Preconditions
-
P1 Main Phase, P1 has 3 AP
-
Lane 0: P1's Azazel (#011) — HP=12, READIED
-
Lane 0: P1's Sabnock (#003) — HP=15, READIED (target ally)
Action
- Execute Azazel's Serve (ability[1], Allied, 1 AP, exhaust) targeting Sabnock
result = execute_ability(state, azazel_on_field, ability_idx=1, targets=[sabnock_on_field])
pwr_effects = [e for e in result.status_effects
if e.target_instance_id == sabnock_on_field.instance_id and e.stat == "pwr"]
Expected Postconditions
-
Sabnock: has status "pwr" +2 (expires end of this phase)
-
Azazel: EXHAUSTED
-
P1 AP: 2 (was 3, spent 1)
Assertions
assert len(pwr_effects) == 1
assert pwr_effects[0].value == 2
azazel_after = next(d for d in result.demons if d.unit_id == "011")
assert azazel_after.state == DemonState.EXHAUSTED
assert result.players[Side.PLAYER_1].ap == 2