Release Healer Man 0.1.45
This commit is contained in:
1 parent
756ee4f64a
commit
f82daf1c13
242 files changed
+1440
-101
No files matched your search
@@ -355,6 +355,21 @@ function collectAbilitySpellIds() {
|
||||
add(spellId >= 490_000 && spellId < 600_000 ? "runewaker" : "ascension", spellId);
|
||||
}
|
||||
}
|
||||
|
||||
const dungeonCatalog = JSON.parse(fs.readFileSync(
|
||||
path.join(generatedRoot, "dungeonCampaignCatalog.json"),
|
||||
"utf8",
|
||||
));
|
||||
for (const dungeon of dungeonCatalog.definitions ?? []) {
|
||||
for (const entity of Object.values(dungeon.entities ?? {})) {
|
||||
if (entity.kind !== "boss") continue;
|
||||
for (const attack of entity.combat?.attacks ?? []) {
|
||||
if (!attack.effect) continue;
|
||||
const spellId = Number(attack.spellId);
|
||||
add(spellId >= 490_000 && spellId < 600_000 ? "runewaker" : "wow335", spellId);
|
||||
}
|
||||
}
|
||||
}
|
||||
return { requested: [...requested.values()], runewakerImageBySpellId };
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user