Repository navigation
v0.6.0
Lockstep release of dnd5e-engine, dnd5e-srd-data and nat20-bridge 0.6.0. Closes out the core-mechanics work: class feature mechanics (Fighting Style, Martial Arts/Flurry of Blows, Action Surge, Bardic Inspiration, Rage, Lay on Hands, multiclass), summons (Summon Dragon joins the initiative order), transform (Wild Shape and Polymorph as stat-block swaps), enchant (Magic Weapon, Spiritual Weapon), monster action economy (Recharge, Legendary Actions/Resistance, stat-block spellcasting), grid AoE targeting, vision & light, spell slots/rests/upcasting, and character derivation — plus a bounded live-combat registry, deterministic effect serialization, and several SRD rules-fidelity fixes. Upgrade notes: docs/migration/v0.5-to-v0.6.md. PR #34.
dnd5e-engine
- Class feature mechanics — Fighting Style feats, Martial Arts/Flurry of Blows and the Focus economy, Action Surge, Bardic Inspiration on attack rolls, Rage's end conditions, Lay on Hands' pool, feature-gated Cunning Action, per-feature limited-use caps, and live multiclass.
- Summons and transform — every concentration spell now concentrates; Magic Weapon and Spiritual Weapon enchant; Wild Shape and Polymorph swap in a stat block with Temporary Hit Points; Summon Dragon's Draconic Spirit joins the initiative order right after its caster.
- Action economy, attack rules, grid AoE and vision — Dodge/Help/Hide/Grapple/Shove/stand-up, weapon proficiency and mastery, range tiers and thrown weapons, typed-template AoE with line-of-effect, and scene lighting/obscurement gating what a combatant can see.
- Spell slots, monster action economy and character derivation — per-class/multiclass/Pact Magic slot derivation and rest recovery, monster Recharge/Legendary Actions/Legendary Resistance/stat-block spellcasting, and
derive_sheet/build_party_member. - Reliability — a bounded live-combat registry (retains the 64 most recently ended combats instead of growing forever), deterministic effect serialization, and fixes to Blindsight-through-Blinded, Truesight-vs-Invisibility and templated-monster Initiative.
No public name is removed or renamed; new fields default to prior behaviour except build_party_member, which now derives ac/attack_bonus/hp_max/hp_current/base_speed instead of defaulting them. Full details: CHANGELOG.
dnd5e-srd-data
- SRD 5.2 conditions as typed data (
canonical/conditions/) and de-duplicated monster traits (canonical/traits/), replacing free-text with structured mechanics the engine can read directly. Monster.spellcasting_abilityand typed Legendary Resistance / Legendary Action pool sizes, so stat-block spellcasting and legendary monsters derive real values instead of flat approximations.- Armor Class derived for 133 monsters that previously shipped
ac: null.
Every change is additive — old canonical JSON without the new keys still validates. Full details: CHANGELOG.
nat20-bridge
Lockstep version bump to 0.6.0, requiring both packages at >=0.6.0. /v1/health now reports the installed package version instead of a string hard-coded since 0.3.2.