forked from phenom/healer-man
Release Healer Man 0.1.6
This commit is contained in:
1 parent
55cfd43d66
commit
b12fb84859
96 files changed
+10874
-609
No files matched your search
@@ -6,6 +6,7 @@ import { MANASTORM_BUBBLE_DEFAULT_RADIUS } from "../game/manastormClientOverlay"
|
||||
import { advanceManastormSession } from "../game/manastormSession";
|
||||
import { useManastormStore } from "../game/manastormStore";
|
||||
import { useGameStore } from "../game/store";
|
||||
import { requestOnlineInteraction } from "../game/onlineSessionRuntime";
|
||||
|
||||
const STORM_PARTICLES = [
|
||||
[-0.9, 1.4, 0.4],
|
||||
@@ -101,6 +102,10 @@ export function ManastormPortal() {
|
||||
useGameStore.getState().playerPosition,
|
||||
);
|
||||
if (inside && !wasInsideRef.current) {
|
||||
if (requestOnlineInteraction("portal")) {
|
||||
wasInsideRef.current = true;
|
||||
return;
|
||||
}
|
||||
transitionLatchedRef.current = true;
|
||||
transitionStartedAtRef.current = Date.now();
|
||||
displayedCountdownRef.current = NEXT_WAVE_COUNTDOWN_SECONDS;
|
||||
|
||||
Reference in new issue
Block a user