Release Healer Man 0.1.40
This commit is contained in:
1 parent
ed0d2fea3d
commit
197a64117c
215 files changed
+5131
-181
No files matched your search
@@ -19,7 +19,7 @@ function grantEncounterLoot(lootTableId: string, now: number): boolean {
|
||||
if (!table) return false;
|
||||
const combat = useCombatStore.getState();
|
||||
const drops = rollBossLoot(table.bossKey, combat.level, { now });
|
||||
if (!drops.length) return false;
|
||||
if (!drops.length) return true;
|
||||
const inventory = [...combat.inventory, ...drops];
|
||||
useCombatStore.setState({ inventory });
|
||||
useShellStore.getState().saveActiveInventory(inventory);
|
||||
|
||||
Reference in new issue
Block a user