Skip to main content

✅ Vassago for you self damage and target def buff

CategoryAbility
StatusPassing
Testtests/test_abilities_actions.py::test_vassago_for_you_self_damage_and_target_def_buff

Vassago's For You takes 5 Fixed Damage to give target +5 DEF.

Preconditions

  • P1 Main Phase, P1 has 3 AP

  • Lane 0: P1's Vassago (#081) — HP=15, 0 damage, READIED

  • Lane 1: P1's Sabnock (#003) — READIED (target other demon)

Action

  • Execute Vassago's For You (ability idx=0, Quick, 0 AP, ready) targeting Sabnock
result = execute_ability(state, vassago_on_field, ability_idx=0, targets=[sabnock_on_field])
effects = {e.stat: e.value for e in get_active_effects_on(result, sabnock_after)}

Expected Postconditions

  • Vassago: 5 damage (took 5 Fixed Damage)

  • Sabnock: has status "def" +5

  • Vassago: NOT exhausted (ready cost)

Assertions

assert vassago_after.damage == 5
assert effects.get("def") == 5
assert vassago_after.state == DemonState.READIED