You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clean_damage_types() and combatant_defenses() now accept an optional keyword-only allowed: frozenset[str] = DAMAGE_TYPES. By default they intersect with the SRD-13 DAMAGE_TYPES exactly as before (fully backward-compatible); a caller that governs its own
damage-type vocabulary can pass a wider set (e.g. SRD-13 ∪ custom) so caller-registered
types survive the filter — at component assembly, the computed-stats read, and live combat
damage application — instead of being silently dropped. dndwright stays domain-agnostic: it does
not know where allowed comes from; members must be lower-cased (the caller owns canonicalisation).
Enables host applications to support per-campaign/per-universe custom damage types without a
split-brain between the character sheet and combat. Public API names (__all__) unchanged.