Release Healer Man 0.1.32

This commit is contained in:
phenom committed 2026-09-12 11:07:25 -04:00
1 parent d3d6aaebdb
commit 6dcb1034e5
102 files changed
+10772 -788

No files matched your search

@@ -79,8 +79,24 @@ if (errors.length === 0) {
check("unique source spawn ids", new Set(snapshot.rows.map((row) => row.spawnId)).size === snapshot.rows.length, "no duplicates");
check("environment id", environment.dungeonId === recipe.dungeonId, String(environment.dungeonId));
check("population report green", report.status === "green", String(report.status));
check("population accounting", report.sourceRowCount === report.importedSpawnCount + report.excludedRowCount,
report.sourceRowCount + " = " + report.importedSpawnCount + " + " + report.excludedRowCount);
const expectedScriptedSpawns = (recipe.scriptedSpawns ?? []).length
+ (recipe.scriptedFormations ?? []).reduce((total, formation) => total + formation.members.length, 0);
const sourceCombatSpawns = report.importedSpawnCount - (report.scriptedSpawnCount ?? 0);
check(
"scripted population accounting",
(report.scriptedSpawnCount ?? 0) === expectedScriptedSpawns,
String(report.scriptedSpawnCount ?? 0) + " = " + expectedScriptedSpawns,
);
check(
"source population accounting",
report.sourceRowCount === sourceCombatSpawns + report.excludedRowCount,
report.sourceRowCount + " = " + sourceCombatSpawns + " + " + report.excludedRowCount,
);
check(
"boss population accounting",
!Number.isInteger(recipe.expectedBossSpawns) || report.bossSpawnCount === recipe.expectedBossSpawns,
String(report.bossSpawnCount) + " = " + String(recipe.expectedBossSpawns),
);
check("combat nav projection", report.navmeshProjection.maximumCombatDistance <= report.navmeshProjection.maximumAllowedDistance,
String(report.navmeshProjection.maximumCombatDistance));
check("mechanics is an explicit review gate", mechanics.status === "review-required" || mechanics.status === "green", String(mechanics.status));