forked from phenom/healer-man
updating buff and debuff icons. separated COA classes from WoW classes on the character creation screen
This commit is contained in:
1 parent
b5c9bce1aa
commit
c00f3211ea
39 files changed
+2037
-208
No files matched your search
@@ -77,6 +77,26 @@ describe("WoW 3.3.5 executable effect mapping", () => {
|
||||
expect(shield.effects.some((effect) => effect.kind === "shield")).toBe(false);
|
||||
});
|
||||
|
||||
it("keeps periodic damage and healing auras out of the generic HUD strip", () => {
|
||||
const pain = byId("wow335-priest-shadow-word-pain");
|
||||
const painAura = effectsOfKind(pain, "apply-aura")
|
||||
.find((effect) => effect.sourceAuraType === 3);
|
||||
const renew = byId("wow335-priest-renew");
|
||||
const renewAura = effectsOfKind(renew, "apply-aura")
|
||||
.find((effect) => effect.sourceAuraType === 8);
|
||||
|
||||
expect(painAura?.aura).toMatchObject({
|
||||
disposition: "debuff",
|
||||
hideFromAuraStrip: true,
|
||||
});
|
||||
expect(renewAura?.aura).toMatchObject({
|
||||
disposition: "buff",
|
||||
hideFromAuraStrip: true,
|
||||
});
|
||||
expect(effectsOfKind(pain, "dot")).toHaveLength(1);
|
||||
expect(effectsOfKind(renew, "hot")).toHaveLength(1);
|
||||
});
|
||||
|
||||
it("maps cleanse, purge, and dual-purpose dispel categories", () => {
|
||||
expect(effectsOfKind(byId("wow335-paladin-cleanse"), "dispel")).toEqual(expect.arrayContaining([
|
||||
expect.objectContaining({ mode: "cleanse", relationship: "friendly", categories: ["magic"] }),
|
||||
|
||||
Reference in new issue
Block a user