Implement the 018-combatant-concentration feature that adds a per-combatant concentration toggle with Brain icon, purple border accent, and damage pulse animation in the encounter tracker

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-03-06 14:34:28 +01:00
parent febe892e15
commit e59fd83292
19 changed files with 779 additions and 7 deletions

View File

@@ -88,6 +88,16 @@ export interface ConditionRemoved {
readonly condition: ConditionId;
}
export interface ConcentrationStarted {
readonly type: "ConcentrationStarted";
readonly combatantId: CombatantId;
}
export interface ConcentrationEnded {
readonly type: "ConcentrationEnded";
readonly combatantId: CombatantId;
}
export type DomainEvent =
| TurnAdvanced
| RoundAdvanced
@@ -101,4 +111,6 @@ export type DomainEvent =
| RoundRetreated
| AcSet
| ConditionAdded
| ConditionRemoved;
| ConditionRemoved
| ConcentrationStarted
| ConcentrationEnded;