Implement the 016-combatant-ac feature that adds an optional Armor Class field to combatants with shield icon display and inline editing in the encounter tracker

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-03-06 10:41:56 +01:00
parent 2793a66672
commit 78c6591973
20 changed files with 914 additions and 4 deletions

View File

@@ -68,6 +68,13 @@ export interface RoundRetreated {
readonly newRoundNumber: number;
}
export interface AcSet {
readonly type: "AcSet";
readonly combatantId: CombatantId;
readonly previousAc: number | undefined;
readonly newAc: number | undefined;
}
export type DomainEvent =
| TurnAdvanced
| RoundAdvanced
@@ -78,4 +85,5 @@ export type DomainEvent =
| MaxHpSet
| CurrentHpAdjusted
| TurnRetreated
| RoundRetreated;
| RoundRetreated
| AcSet;