Release Healer Man 0.1.45

This commit is contained in:
phenom committed 2026-09-15 14:43:15 -04:00
1 parent 756ee4f64a
commit f82daf1c13
242 files changed
+1440 -101

No files matched your search

@@ -23,7 +23,7 @@ const validTargets = new Set([
]);
const validSchools = new Set(["physical", "arcane", "fire", "frost", "nature", "shadow", "holy"]);
const validEffects = new Set([
"damage", "heal", "aura", "target-aura", "control", "transform", "summon", "call-for-help", "encounter-event",
"damage", "heal", "leech", "aura", "target-aura", "control", "transform", "pull", "summon", "call-for-help", "encounter-event", "composite",
]);
const basicOnlyBossExceptions = new Map(
WOW_DUNGEON_BASIC_ONLY_BOSS_EXCEPTIONS.map(({ key, reason }) => [key, reason]),
@@ -102,6 +102,14 @@ function validateAttack(dungeonId, entityId, attack, issues) {
if (attack?.effect && !validEffects.has(attack.effect.kind)) {
issues.push(key + ": unsupported effect " + attack.effect.kind + ".");
}
if (attack?.effect?.kind === "composite") {
if (!attack.effect.effects?.length) issues.push(key + ": composite effect is empty.");
for (const effect of attack.effect.effects ?? []) {
if (!validEffects.has(effect.kind) || effect.kind === "composite") {
issues.push(key + ": unsupported composite effect " + effect.kind + ".");
}
}
}
}
function reportMarkdown(report) {