✅ Sword of wrath vulnerable without aamon
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_familiars.py::test_sword_of_wrath_vulnerable_without_aamon |
Sword of Wrath CAN take damage when Aamon is NOT in play.
Preconditions
-
Lane 0: P1's Sword of Wrath (096_1) — damage=0.
-
Aamon is NOT on the field.
Action
- Apply 5 Fixed Damage then fire DAMAGE_RECEIVED with value=5.
state_with_dmg = deal_fixed_damage(state, sword, 5)
new_state = fire_event(
state_with_dmg,
GameEvent(
event_type=EventType.DAMAGE_RECEIVED,
source=None,
target=sword,
value=5,
side=Side.PLAYER_2,
lane=0,
),
)
sword_after = next(d for d in new_state.demons if d.unit_id == "096_1")
Expected Postconditions
- Sword of Wrath damage = 5 (no invulnerability without Aamon).
Assertions
assert sword_after.damage == 5, (
f"Sword of Wrath should take damage when Aamon is NOT in play, got {sword_after.damage}"
)