Skip to content

v0.8.1

Choose a tag to compare

@tapestria tapestria released this 27 Nov 13:59
343e6a6

Lockstep patch release of dnd5e-srd-data, dnd5e-engine and nat20-bridge.

dnd5e-engine

Six fixes to how items resolve in combat. No API is removed; a host sees different events where the old behaviour was wrong.

  • An attack with a weapon now resolves only its attacks and the riders its hit triggers. A weapon's activated abilities (Trident of Fish Command's Dominate Beast, Mace of Terror's Wave of Terror) fire only through use_item, which spends their charge.
  • A use_item whose activity activates as a Bonus Action (Potion of Healing) now spends the Bonus Action and keeps the turn. A second Bonus Action that turn is refused with CastFailed(reason="no_action_economy").
  • An item's own save activity on use_item now rolls against the DC it states (a flat formula, or an ability calculation such as Acid's 8 + Dexterity modifier + Proficiency Bonus) instead of the user's spell save DC.
  • An item activity's effect riders now resolve from the item's own passive effects: a failed save applies the referenced effect and its conditions to the target, with its duration.
  • A speed.walk.bonus add change on a combatant's active effects now raises its walking Speed and movement budget for as long as the effect lasts.
  • An untagged damage.bonus active-effect change now adds once to the damage of every attack roll that hits, weapon or spell. Weapon-tagged bonuses still apply to weapon swings only.

dnd5e-srd-data

  • OverlayAssetLoader layers homebrew content over any base loader, with canonical entries always winning. replace_overlay swaps the homebrew layer in place.
  • Provenance.source accepts "homebrew".
  • The canonical corpus is byte-identical to 0.8.0.

nat20-bridge

  • Requires both siblings at >=0.8.1.

Full details: the CHANGELOG.md of each package.