SKILL.md: explicitly include +N to/on Skill in bold rule

Made-with: Cursor
This commit is contained in:
2026-04-17 12:59:47 +02:00
parent f20a28e861
commit c7586b48b3
+1 -1
View File
@@ -144,7 +144,7 @@ Lore (N words; source=custom):
### Mechanics Typography
- **Bold = the highlights.** A player glancing at the card should immediately see the numbers and effects that matter. When in doubt, bold it.
- **Bold**: dice rolls (`**4d8+8**`), distances (`**30 ft**`), hit point amounts (`**15 temporary hit points**`), "advantage"/"disadvantage" (as standalone or as phrase start: `**advantage on saves vs spells**`), "resistance to X" / "immunity to X", all numeric bonuses and penalties (`**+2 AC**`, `**+1 to saves**`, `**+10 to Stealth**`, `**-10 ft**`)
- **Bold**: dice rolls (`**4d8+8**`), distances (`**30 ft**`), hit point amounts (`**15 temporary hit points**`), "advantage"/"disadvantage" (as standalone or as phrase start: `**advantage on saves vs spells**`), "resistance to X" / "immunity to X", all numeric bonuses and penalties (`**+2 AC**`, `**+1 to saves**`, `**+2 to hit**`, `**+10 to Stealth**`, `**-10 ft**`). This includes `+N to/on SkillName` patterns — always bold the full bonus phrase.
- *Italic*: D&D conditions (*frightened*, *charmed*, *poisoned*, *restrained*, *stunned*, etc.)
- The `_bold_fmt()` regex in `generate-card.py` handles most cases but has known edge cases: multi-word "resistance to X and Y" sometimes splits across tspans producing garbled `**` marks; numbers with commas (1,000) can split mid-number. Always verify bold rendering on generated cards.