forked from phenom/healer-man
Release Healer Man 0.1.40
This commit is contained in:
1 parent
ed0d2fea3d
commit
197a64117c
215 files changed
+5131
-181
No files matched your search
@@ -188,11 +188,19 @@ describe("Ascension Conquest ability catalog", () => {
|
||||
});
|
||||
expect(Object.values(COA_TRIGGERED_ABILITIES_BY_SPELL_ID).filter((ability) => (
|
||||
ability.effects.some((effect) => effect.kind !== "utility")
|
||||
))).toHaveLength(547);
|
||||
))).toHaveLength(546);
|
||||
for (const [spellId, ability] of Object.entries(COA_TRIGGERED_ABILITIES_BY_SPELL_ID)) {
|
||||
expect(ability.dbcSpellId, spellId).toBe(Number(spellId));
|
||||
expect(ability.effects.length, spellId).toBeGreaterThan(0);
|
||||
expect(ability.effects.some((effect) => effect.kind === "scripted" || effect.kind === "unsupported"), spellId).toBe(false);
|
||||
}
|
||||
});
|
||||
|
||||
it("does not invent damage for proc auras or cooldown-only trigger payloads", () => {
|
||||
expect(COA_TRIGGERED_ABILITIES_BY_SPELL_ID[707821].effects.some((effect) => effect.kind === "damage")).toBe(false);
|
||||
expect(COA_TRIGGERED_ABILITIES_BY_SPELL_ID[807661].effects.every((effect) => effect.kind === "utility")).toBe(true);
|
||||
expect(COA_TRIGGERED_ABILITIES_BY_SPELL_ID[712682].effects).toContainEqual(
|
||||
expect.objectContaining({ kind: "trigger-spell", spellId: 712476, expanded: true }),
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user