Skip to main content

✅ Deal fixed damage bypasses def

CategoryAbility
StatusPassing
Testtests/test_operations.py::test_deal_fixed_damage_bypasses_def

Fixed damage of 5 to a target with +10 DEF still deals 5 damage.

Preconditions

  • Lane 2: P2's Duban (#001) — 6 HP, 0 damage, READIED

  • Duban has active status effect: +10 DEF

  • P1's Sabnock (#003) is the source

Action

  • deal_fixed_damage(state, target=Duban, amount=5)

Expected Postconditions

  • Fixed damage bypasses DEF entirely

  • Duban.damage = 5 (5 added directly, no DEF check)

Assertions

assert damaged_target.damage == 5