fix(api): add activeGuard and enraged fields to CombatMonsterState

This commit is contained in:
Bastian Wagner
2026-08-23 10:57:28 +02:00
parent 604581be34
commit 3f336bfc34

View File

@@ -26,6 +26,9 @@ export interface CombatMonsterState extends CombatCombatantState {
// Snapshotted from MonsterDefinition when the fight starts, so retuning // Snapshotted from MonsterDefinition when the fight starts, so retuning
// content mid-fight cannot change the rules of a running combat. // content mid-fight cannot change the rules of a running combat.
abilities: MonsterAbilities; abilities: MonsterAbilities;
// Snapshotted monster combat state persisted during the fight.
activeGuard?: { remainingRounds: number; armorBonus: number };
enraged?: boolean;
} }
export interface CombatPlayerState extends CombatCombatantState { export interface CombatPlayerState extends CombatCombatantState {