gm-combat

Installation
SKILL.md

Combat Mechanics (D&D kit)

STEP 0 — KIT GUARD. If the scene-context KIT block is not dnd5e, close this skill and resolve the fight through the generic core (game_core) and the active ruleset.

Persist combat with bash tools/gm-combat.sh (start/add-enemy/hp/condition/next-turn/end) so HP and initiative survive resumes.

Flow

  1. Get enemy stats (features/dnd-api/monsters/dnd_monster.py "[creature]" --combat or quick: AC 13, HP 15, +3, 1d6+1).
  2. Initiative: uv run python lib/dice.py "1d20+[dex]" per combatant; order high→low.
  3. Each turn: attack 1d20+bonus vs AC; on hit roll damage; update HP via gm-combat.sh hp.
  4. Resolution: award XP, handle loot (persist BEFORE narrating), advance time.
Installs
1
GitHub Stars
155
First Seen
3 days ago
Security Audits