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
@@ -89,6 +89,11 @@ function sharedWorld(): OnlineSharedWorld {
|
||||
|
||||
export function applySharedWorld(world: OnlineSharedWorld): void {
|
||||
useCombatStore.setState({ mobs: world.mobs });
|
||||
for (const mob of Object.values(world.mobs)) {
|
||||
if (mob.dead && mob.looted && mob.bossCardDrop) {
|
||||
useCombatStore.getState().collectSharedBossCards(mob.bossCardDrop, mob.name, mob.diedAt ?? Date.now());
|
||||
}
|
||||
}
|
||||
usePartyStore.setState({
|
||||
members: world.partyMembers,
|
||||
command: world.partyRuntime.command as ReturnType<typeof usePartyStore.getState>["command"],
|
||||
|
||||
Reference in new issue
Block a user