Update Healer Man server

This commit is contained in:
phenom committed 2026-10-02 10:38:12 -04:00
1 parent 4c768fbec6
commit b16821e92e
330 files changed
+35406 -1760

No files matched your search

+18
View File
@@ -57,6 +57,24 @@ describe("channel amount expansion", () => {
expect(channelPulseAt(accelerated, 0, 1_000, 1)).toBe(500);
});
it("honors an explicit channel cadence through the cast end", () => {
const mindFlay = abilitiesForClass("priest").find((candidate) => candidate.name === "Mind Flay")!;
const necroticWoundChannel = {
...mindFlay,
castMode: "channel" as const,
castTimeMs: 1_500,
channelPulses: 3,
channelTickMs: 500,
};
expect([0, 1, 2].map((pulse) => channelPulseAt(necroticWoundChannel, 1_000, 1_500, pulse)))
.toEqual([1_500, 2_000, 2_500]);
const penance = abilitiesForClass("priest").find((candidate) => candidate.name === "Penance")!;
const explicitPenance = { ...penance, channelTickMs: 1_000 };
expect([0, 1, 2].map((pulse) => channelPulseAt(explicitPenance, 1_000, explicitPenance.castTimeMs, pulse)))
.toEqual([1_000, 2_000, 3_000]);
});
it("gives damaging and healing classic channels a pulse payload", () => {
const expected = [
["priest", "Penance"], ["priest", "Mind Flay"], ["priest", "Mind Sear"],