Update Healer Man server
This commit is contained in:
1 parent
48a678dcc5
commit
9c5fb4c614
18 files changed
+397
-46
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { abilitiesForClass } from "./abilityCatalog";
|
||||
import { channelAmountEffects } from "./combatChannelAmounts";
|
||||
import { channelAmountEffects, channelPulseCount } from "./combatChannelAmounts";
|
||||
|
||||
describe("channel amount expansion", () => {
|
||||
it("spreads a normal channel's full amount across its pulses", () => {
|
||||
@@ -22,4 +22,14 @@ describe("channel amount expansion", () => {
|
||||
: effect) };
|
||||
expect(channelAmountEffects(conditional, 5)).toEqual([]);
|
||||
});
|
||||
|
||||
it("deals Chain of Light's source hit on every pulse", () => {
|
||||
const ability = abilitiesForClass("rom-priest").find((candidate) => candidate.name === "Chain of Light")!;
|
||||
expect(ability.castMode).toBe("channel");
|
||||
expect(ability.castTimeMs).toBe(4_000);
|
||||
expect(channelPulseCount(ability)).toBe(4);
|
||||
expect(channelAmountEffects(ability, 4)).toEqual([
|
||||
{ effect: ability.effects.find((effect) => effect.kind === "damage"), multiplier: 1 },
|
||||
]);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user