Optionaldata: CreateDataInitial data from which to construct the Combat
Optionalcontext: ConstructionContextConstruction context options
Get current initiative.
InternalDetermine skipped turns
Origin combat time frame
From round
From turn
Update context
InternalHandle effects of skipped turns.
Combatant IDs of those whose turn was skipped.
Combat update context
InternalHandle end of turn
Origin time frame
Round on which the turn ended
Turn that ended
Context
InternalProcess end of durations based on initiative.
Only active GM processes these to avoid conflicts and logic bloat.
Optionalcontext: object = {}Update context
Process current combatant: expire active effects & buffs.
Update data
Context options
StaticshowOptionaloptions: { bonus?: string; check?: boolean; d20?: string; name: string } = {}Additional options
Optionalbonus?: stringBonus formula override
Optionalcheck?: booleanIf false, no base d20 check is provided
Optionald20?: stringFormula override
Name of the roller
Combat manager extension