forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
39458d5de6
commit
6cc1b9217f
203 files changed
+133929
-31271
No files matched your search
@@ -177,7 +177,16 @@ describe("shared combat rotations", () => {
|
||||
expect(learnedAbilityForBuild(signature, 80, {}), `${classId}:${name}`).toBeNull();
|
||||
expect(learnedAbilityForBuild(signature, 80, { [signature.talentNodeId!]: 1 }), `${classId}:${name}`).not.toBeNull();
|
||||
expect(signature.effects.length).toBeGreaterThan(0);
|
||||
expect(signature.effects.some((effect) => !["unsupported", "scripted", "utility"].includes(effect.kind))).toBe(true);
|
||||
if (classId === "rogue" && name === "Killing Spree") {
|
||||
// Its DBC wrapper is a periodic-dummy target selector; the dedicated
|
||||
// Rogue runtime test covers the script's actual two-weapon assaults.
|
||||
expect(signature.effects).toEqual([
|
||||
expect.objectContaining({ kind: "utility", action: "class-script", durationMs: 2_000 }),
|
||||
]);
|
||||
} else {
|
||||
expect(signature.effects.some((effect) => !["unsupported", "scripted", "utility"].includes(effect.kind)))
|
||||
.toBe(true);
|
||||
}
|
||||
expect(signature.ranks?.length, `${classId}:${name} ranks`).toBeGreaterThan(0);
|
||||
expect(signature.ranks?.every((rank) => rank.cost.amount >= 0 && rank.cooldownMs >= 0 && rank.effects.length > 0)).toBe(true);
|
||||
expect(signature.cooldownMs).toBeGreaterThanOrEqual(0);
|
||||
|
||||
Reference in new issue
Block a user