Release Healer Man 0.1.6

This commit is contained in:
phenom committed 2026-08-20 14:05:50 -04:00
1 parent 55cfd43d66
commit b12fb84859
96 files changed
+10874 -609

No files matched your search

+14 -1
View File
@@ -38,7 +38,20 @@ describe("baseline ability catalog", () => {
const iconPath = path.join(process.cwd(), "public", ability.icon.slice(1));
expect(existsSync(iconPath), `${ability.name} icon should exist at ${iconPath}`).toBe(true);
expect(statSync(iconPath).size, `${ability.name} icon should not be empty`).toBeGreaterThan(0);
expect(ability.cost.resource).toBe(resource.type);
if (characterClass.mode !== "classic" || ability.cost.amount > 0) {
const classicResources: Partial<Record<typeof characterClass.id, readonly string[]>> = {
warrior: ["rage", "health"],
rogue: ["energy"],
"death-knight": ["runic-power", "health"],
druid: ["mana", "rage", "energy"],
warlock: ["mana", "health"],
};
expect(
characterClass.mode === "classic"
? classicResources[characterClass.id] ?? [resource.type]
: ["mana", "rage", "energy", "runic-power", "focus", "health"],
).toContain(ability.cost.resource);
}
expect(ability.cost.amount).toBeGreaterThanOrEqual(0);
expect(ability.effects.length).toBeGreaterThan(0);
expect(allIds.has(ability.id)).toBe(false);