Root cause: regex \b(resistance to [\w,]+)\b stopped at spaces,
capturing only "resistance to nonmagical" instead of the full
"resistance to nonmagical bludgeoning, piercing, and slashing damage".
Fixed generate-card.py _bold_fmt():
- Resistance regex now captures multi-word damage type phrases
- Immunity regex handles *italic* conditions inside the phrase
- Both handle "damage type" suffix
21 items patched across 5 tiers (Specialist 4, Expert 4, Master 3,
Grandmaster 7, Exit 2). Also fixed HP abbreviations and double-to typo.
Master Lore Replacements.pdf updated (now 30 cards).
All ITEMS.md and 5etools JSON regenerated.
Made-with: Cursor