feat(observation): expose remaining attacks of opportunity

This commit is contained in:
2026-09-10 14:08:25 +02:00
parent 6abd29cbc5
commit 61c9b7fa47
3 changed files with 175 additions and 2 deletions
+4
View File
@@ -883,6 +883,10 @@ class CombatEngine:
"power_attack": state.power_attack,
"defensive_ac_bonus": state.defensive_ac_bonus,
"fight_defensively": state.fight_defensively,
"aoo_remaining": max(
0,
self._aoo_allowance(state) - self._aoo_used.get(state.combatant.id, 0),
),
"name": state.combatant.name,
"level": state.combatant.level,
"size": state.combatant.size,