✅ Omnipotence allows normal action
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_complex.py::TestPaimonOmnipotence::test_omnipotence_allows_normal_action |
Paimon borrows a normal Action-timed ability. Allowed.
Preconditions
-
P1's hand contains Balam (#040) which has Dust to Dust (Action, idx=1)
-
Lane 0: P2's Duban (#001)
Action
- Paimon uses Omnipotence revealing Balam, borrowing idx=1
result = handler(state, paimon_in, [duban_in], {
"revealed_unit_id": "040",
"borrowed_ability_idx": 1,
"borrowed_targets": [duban_in],
}, None)
# Something should have changed (damage or status)
duban_after = next(
(d for d in result.demons if d.unit_id == "001"), None
)
# Dust to Dust deals damage — Duban should be affected
if duban_after:
Expected Postconditions
- Dust to Dust executes (Paimon performs it)
Assertions
assert duban_after.damage > 0 or len(result.status_effects) > 0, (
"Normal Action ability should execute via Omnipotence"
)