Release Healer Man 0.1.5
This commit is contained in:
1 parent
f4c9cf356c
commit
55cfd43d66
62 files changed
+3030
-153
No files matched your search
@@ -173,7 +173,7 @@ describe("Manastorm encounter sessions", () => {
|
||||
expect(useManastormStore.getState().status).toBe("failed");
|
||||
});
|
||||
|
||||
it("spends a remaining charge instead of failing a full-party down event", () => {
|
||||
it("waits for an explicit shared resurrection when the full party is down", () => {
|
||||
useCombatStore.setState({ health: 0 });
|
||||
const companions = usePartyStore.getState().members;
|
||||
for (const companion of companions) {
|
||||
@@ -184,13 +184,17 @@ describe("Manastorm encounter sessions", () => {
|
||||
expect(resolveManastormActorDown({
|
||||
kind: "companion",
|
||||
memberId: companion.id,
|
||||
})).toBe("revived");
|
||||
expect(usePartyStore.getState().members.at(-1)!.health).toBe(companion.maxHealth);
|
||||
})).toBe("downed");
|
||||
expect(usePartyStore.getState().members.at(-1)!.health).toBe(0);
|
||||
expect(useCombatStore.getState().health).toBe(0);
|
||||
expect(useManastormStore.getState()).toMatchObject({
|
||||
status: "entering",
|
||||
resurrectionCharges: 4,
|
||||
resurrectionCharges: 5,
|
||||
});
|
||||
|
||||
expect(resurrectManastormSession({ kind: "player" })).toBe(true);
|
||||
expect(useCombatStore.getState().health).toBe(useCombatStore.getState().maxHealth);
|
||||
expect(useManastormStore.getState().resurrectionCharges).toBe(4);
|
||||
});
|
||||
|
||||
it("drives real trash, boss, loot, portal, and next-stage state end to end", () => {
|
||||
|
||||
Reference in new issue
Block a user