End combat
end-combatStop an active combat encounter by setting round to 0 while preserving combatants and initiative order. Optionally delete the encounter, or use a dry run to check permission and effects first.
Instructions
End a combat encounter: it stops (round 0, not active) and keeps its combatants and initiatives. deleteEncounter deletes it instead, as Foundry's own End Combat does; deleting encounters is refused until they have a permission level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Only report what would happen and whether it is permitted; change nothing | |
| combatId | No | Id of the combat encounter, as list-combats shows it. Without it the active encounter is used. | |
| deleteEncounter | No | Delete the encounter instead of stopping it (default false) |