Added quest spells to monsters as they seem to need them

This commit is contained in:
Peter Bjerg Lidegaard
2022-01-28 08:30:00 +01:00
parent e785df8dc7
commit 07b9d9ea92
4 changed files with 61 additions and 8 deletions
+1 -3
View File
@@ -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;
}