get-combat-stats
Pull combat analytics from Battle Flow chat stamps: damage per round, healing, resource spends, flips, and flavor. Filter by actor, combat, or time; optional JSON ledger for charts.
Instructions
Fold Battle Flow's stat-stamped chat messages into per-combat analytics: damage dealt/taken (with per-round rate), healing + overheal, verdict-flip credits, spend economy (resource pools AND spell slots), buff-die (Bless) margin flips, and session flavor (nat 20s/1s, advantage economy, death saves). Read-only scan; reverted applications are subtracted; unlinked monsters aggregate by archetype. GM-facing — filter at call time via sections/actor/combat/since. includeLedger:true appends the folded JSON for charts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | Filter report lines to actors whose name contains this (case-insensitive). | |
| since | No | Only scan messages at/after this moment — an ISO date ("2026-08-27") or epoch-ms. Omit to scan the whole log (the ledger starts when the stamps do, 2026-08-27; older messages are counted as legacy and excluded). | |
| combat | No | Report a single combat by its combat id (the ledger keys buckets by the stamp's "combatId:round:turn"). Also accepts "out-of-combat" for the null bucket. Omit for all. | |
| sections | No | Which report sections to render (default all): damage, healing, flips, spends, moments (masteries/holds/saves/concentration counts), bless (buff-die margin flips), flavor (nat 20s/1s, advantage economy, death saves). | |
| includeLedger | No | Append the folded ledger as JSON (for charts or downstream analysis). |