diff --git a/ADnD 2E Revised/2ESheet.html b/ADnD 2E Revised/2ESheet.html index 9b4abbb807..1ba63479a0 100644 --- a/ADnD 2E Revised/2ESheet.html +++ b/ADnD 2E Revised/2ESheet.html @@ -20190,6 +20190,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -42115,9 +42144,7 @@ priestSpells['pri7'] = pri7; priestSpells['priq'] = priq; const primonster = {}; -for (const [sectionName, section] of Object.entries(priestSpells)) { - if (sectionName === 'priq') // skipping quest spells for monsters - continue; +for (const [_, section] of Object.entries(priestSpells)) { for (const [spellName, spell] of Object.entries(section)) { primonster[spellName] = spell; } diff --git a/ADnD 2E Revised/html/dynamicDatalists.html b/ADnD 2E Revised/html/dynamicDatalists.html index 0f0ea80163..1b5b10a64c 100644 --- a/ADnD 2E Revised/html/dynamicDatalists.html +++ b/ADnD 2E Revised/html/dynamicDatalists.html @@ -1745,6 +1745,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ADnD 2E Revised/javascript/priestSpells.js b/ADnD 2E Revised/javascript/priestSpells.js index 2e88257988..85e7dd26d9 100644 --- a/ADnD 2E Revised/javascript/priestSpells.js +++ b/ADnD 2E Revised/javascript/priestSpells.js @@ -7613,9 +7613,7 @@ priestSpells['pri7'] = pri7; priestSpells['priq'] = priq; const primonster = {}; -for (const [sectionName, section] of Object.entries(priestSpells)) { - if (sectionName === 'priq') // skipping quest spells for monsters - continue; +for (const [_, section] of Object.entries(priestSpells)) { for (const [spellName, spell] of Object.entries(section)) { primonster[spellName] = spell; } diff --git a/ADnD 2E Revised/pug/spellsDatalists.pug b/ADnD 2E Revised/pug/spellsDatalists.pug index 2332a64c50..be42af9560 100644 --- a/ADnD 2E Revised/pug/spellsDatalists.pug +++ b/ADnD 2E Revised/pug/spellsDatalists.pug @@ -3,13 +3,12 @@ each spell, spellName in levelObject - let category = spell.category || '' if level.endsWith('monster') - if level === 'priq' - continue - let displayLevel case spell.level when '1': - displayLevel = `${spell.level}st level` when '2': - displayLevel = `${spell.level}nd level` when '3': - displayLevel = `${spell.level}rd level` + when 'q': - displayLevel = `Quest Spell ` default: - displayLevel = `${spell.level}th level` if (category)