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
@@ -1,12 +1,10 @@
|
||||
import { useEffect, useRef } from "react";
|
||||
import { useShellStore } from "../app/shellStore";
|
||||
import { useCombatStore } from "./combatStore";
|
||||
import { respawnDefeatedPlayer } from "./deathRespawn";
|
||||
import { advanceDungeonPartyCombat } from "./partyRuntime";
|
||||
import { useGameStore } from "./store";
|
||||
import { activateManastormActiveSpellLoadout } from "./manastormSpellLoadout";
|
||||
import { useManastormStore } from "./manastormStore";
|
||||
import { resolveManastormActorDown } from "./manastormSession";
|
||||
import { useWailingEncounterStore } from "./wailingCavernsEncounter";
|
||||
|
||||
/**
|
||||
@@ -126,16 +124,6 @@ export function CombatBridge() {
|
||||
epochNow,
|
||||
);
|
||||
}
|
||||
if (useCombatStore.getState().health <= 0 && game.gameMode === "manastorm") {
|
||||
const resolution = resolveManastormActorDown({ kind: "player" });
|
||||
if (resolution === "failed") useShellStore.getState().failActiveManastorm();
|
||||
return;
|
||||
}
|
||||
if (respawnDefeatedPlayer()) {
|
||||
// resetAtEntrance increments this revision. Mark it consumed because
|
||||
// respawnDefeatedPlayer already reset combat atomically.
|
||||
mountedResetRevision.current = useGameStore.getState().resetRevision;
|
||||
}
|
||||
}
|
||||
}, 100);
|
||||
return () => window.clearInterval(timer);
|
||||
|
||||
Reference in new issue
Block a user