Release Healer Man 0.1.11

This commit is contained in:
phenom committed 2026-08-31 14:12:51 -04:00
1 parent 5f1a14d8de
commit 13970d03c8
18 files changed
+514 -19

No files matched your search

+10 -3
View File
@@ -48,6 +48,7 @@ import { stepFearedMobAway } from "../game/mobMotion";
import {
clusterStaticMobSpawns,
createLoopedPath,
normalizeMobPopulationPaths,
samplePackFormation,
} from "../game/mobPopulation";
import { useGameStore } from "../game/store";
@@ -1477,12 +1478,18 @@ export function MobPopulation({
() => allowedRuntimeIds ? new Set(allowedRuntimeIds) : null,
[allowedRuntimeIds],
);
const normalizedPopulation = useMemo(
() => normalizeMobPopulationPaths(roamingPacks, staticSpawns),
[roamingPacks, staticSpawns],
);
const staticClusters = useMemo(() => clusterStaticMobSpawns(
allowedSet ? staticSpawns.filter((spawn) => allowedSet.has(spawn.id)) : staticSpawns,
), [allowedSet, staticSpawns]);
allowedSet
? normalizedPopulation.staticSpawns.filter((spawn) => allowedSet.has(spawn.id))
: normalizedPopulation.staticSpawns,
), [allowedSet, normalizedPopulation.staticSpawns]);
return (
<group name="mob-population">
{roamingPacks.map((pack) => (
{normalizedPopulation.roamingPacks.map((pack) => (
<RoamingPack
key={pack.id}
definition={pack}