Skip to main content

✅ Taunt applies def buff and forces attack

CategoryAbility
StatusPassing
Testtests/test_abilities_complex.py::TestIskandarTaunt::test_taunt_applies_def_buff_and_forces_attack

Iskandar uses Taunt — gains +2 DEF, target attacks Iskandar.

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • Lane 0: P1's Iskandar (#104), READIED

  • Lane 0: P2's Duban (#001, PWR=2), READIED (target)

Action

  • Iskandar uses Taunt (1 AP, exhaust) targeting Duban

Expected Postconditions

  • Iskandar has +2 DEF status (expires end of phase)

  • Iskandar takes Duban's PWR damage reduced by total DEF (+2 status)

  • Duban: EXHAUSTED

  • Iskandar: EXHAUSTED (tap_required)

  • P1 AP: 2 (3 - 1)

Assertions

assert def_buff == 2, (
f"Iskandar must have +2 DEF status from Taunt. Got {def_buff}."
)
assert iskandar_after.damage == expected_damage, (
f"Iskandar must have {expected_damage} damage from Duban's forced attack."
)
assert duban_after.state == DemonState.EXHAUSTED, (
"Duban must be EXHAUSTED after being forced to attack by Taunt."
)
assert iskandar_after.state == DemonState.EXHAUSTED, (
"Iskandar must be EXHAUSTED (tap_required ability)."
)
assert result.players[Side.PLAYER_1].ap == 2, (
f"P1 AP must be 2 (3 - 1). Got {result.players[Side.PLAYER_1].ap}."
)