mirror of
https://github.com/Kornstalx/5etools-mirror-2.github.io.git
synced 2025-10-28 20:45:35 -05:00
v1.199.2
This commit is contained in:
@@ -1359,7 +1359,11 @@ class SpellcastingTraitConvert {
|
||||
|
||||
static _parseSpellcasting ({ent, isMarkdown, displayAs, actions, reactions}) {
|
||||
let hasAnyHeader = false;
|
||||
const spellcastingEntry = {"name": ent.name, "headerEntries": [this._parseToHit(ent.entries[0])]};
|
||||
const spellcastingEntry = {
|
||||
"name": ent.name,
|
||||
"type": "spellcasting",
|
||||
"headerEntries": [this._parseToHit(ent.entries[0])],
|
||||
};
|
||||
ent.entries.forEach((thisLine, i) => {
|
||||
thisLine = thisLine.replace(/,\s*\*/g, ",*"); // put asterisks on the correct side of commas
|
||||
if (i === 0) return;
|
||||
|
||||
Reference in New Issue
Block a user