Fix spell damage parsing + EiS actors

This commit is contained in:
2024-05-12 17:39:03 +02:00
parent 28b966b27c
commit 36616d648b
38 changed files with 212 additions and 201 deletions

View File

@ -445,7 +445,7 @@ export default async function statParserFR(statString, type = "npc") {
moneys[mondeyDef.key] += (moneyParsed && moneyParsed[1]) ? Number(moneyParsed[1]) : 0
}
}
} else if (def.name.includes('spell')) {
} else if (def.name.toLowerCase().includes('spell')) {
console.log("Found spells section!!!!", name, def, def.lore || "NO LORE")
// Lore management, firs pass
if (def.lore) {