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
@@ -3,6 +3,7 @@ import { LOOT_CATALOG, rollBossLoot } from "./lootCatalog";
|
||||
import { useManastormStore } from "./manastormStore";
|
||||
import { useGameStore } from "./store";
|
||||
import { getManastormCatalog, manastormScaling } from "./manastorm";
|
||||
import { requestOnlineInteraction } from "./onlineSessionRuntime";
|
||||
|
||||
/** Shared keyboard, controller, touch, and HUD interaction for the active corpse. */
|
||||
export function lootCurrentManastormBoss(now = Date.now()): boolean {
|
||||
@@ -11,6 +12,7 @@ export function lootCurrentManastormBoss(now = Date.now()): boolean {
|
||||
if (game.gameMode !== "manastorm" || manastorm.status !== "awaiting-loot") return false;
|
||||
const bossId = manastorm.currentEncounter?.bossRuntimeId;
|
||||
if (!bossId) return false;
|
||||
if (requestOnlineInteraction("loot", bossId)) return true;
|
||||
return useCombatStore.getState().lootMob(bossId, now);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user