jgengine-combat
Installation
SKILL.md
JGengine combat
Ownership
This skill owns combat resolution: target policy, combat stats, teams/factions as combat inputs, effects, damage/healing, projectiles, abilities, cooldowns, death/downed state, encounters, and reward/loot resolution. Movement and perception live in jgengine-world; inventory/economy state lives in jgengine-gameplay.
Search capabilities.md, then use api.md for signatures and reference.md for complete pipelines.
Canonical pipeline
- Acquire eligible candidates from a bounded spatial source.
- Select a target through caller-owned policy and deterministic tie-breaking.
- Validate costs, cooldowns, range, visibility, and authority.
- Resolve typed effects through ordered, inspectable stages.
- Apply damage/healing/status transitions and emit provenance-rich events.
- Resolve death/downed and rewards separately from the hit itself.
Compose stages through registration/policy seams; adding a damage type, effect, target policy, or reward strategy must not add a central engine branch.