kirby-combat
kirby-combat is a pure-Python HERO 6E combat engine. It has one runtime dependency, kirby-cost, and that is deliberate: anything deriving a cost, a number of dice or a roll belongs there, so the combat engine acts on the numbers it is given rather than deriving its own.
It is covered by 1,348 tests spanning attacks, grappling, movement, mental combat, perception, vehicles, mass combat, destructible terrain, Presence attacks, Entangles and their escapes, and the conditions that follow from them.
Some of those tests are the rulebooks’ own worked examples, run against the engine — see RAW alignment.
Install
Section titled “Install”pip install kirby-combatkirby-combat needs no Hero Designer installation and no character file — combatants are plain Python objects. It ships no rules text and no Hero Games content; the numbers still come from your own rulebooks.
Source
Section titled “Source”kirby-combat is source-available, free for personal use, under the PolyForm Noncommercial License 1.0.0.
HERO System™ is DOJ, Inc. d/b/a Hero Games' trademark for its roleplaying system. Hero Designer is © DOJ, Inc. Kirby is an independent work. Not affiliated with or endorsed by DOJ, Inc. d/b/a Hero Games. No game rules content is distributed here.