Update Healer Man server

This commit is contained in:
phenom committed 2026-09-27 21:48:00 -04:00
1 parent 15a5254380
commit 9d7e0e2f9e
71 files changed
+3490 -81

No files matched your search

+11 -3
View File
@@ -76,7 +76,7 @@ describe("bite-sized Stormwind Stockades", () => {
.toBe(first.staticSpawns.find((spawn) => spawn.id === first.bosses[0].id)?.entityId);
});
it("uses ordinary boss durability for every level-17 roll", () => {
it("retains the shorter Bite-Sized durability curve for every level-17 roll", () => {
const variants = new Map<string, ReturnType<typeof createBiteSizedStockadesDefinition>>();
for (let index = 0; index < 1_000 && variants.size < BITE_SIZED_STOCKADES_BOSS_CANDIDATES.length; index += 1) {
const definition = createBiteSizedStockadesDefinition(source, `level-17-run-${index}`);
@@ -95,9 +95,17 @@ describe("bite-sized Stormwind Stockades", () => {
const boss = definition.bosses[0];
const spawn = definition.staticSpawns.find((entry) => entry.id === boss.id)!;
const entity = definition.entities[spawn.entityId];
expect(dungeonEnemyScaling(
const health = dungeonEnemyScaling(
definition, entity, boss.id, 17, "normal", 1, characterSource,
).maxHealth, `${characterSource}:${boss.name}`).toBeCloseTo(ordinaryHealth);
).maxHealth;
expect(health, `${characterSource}:${boss.name}`).toBeGreaterThan(0);
expect(health, `${characterSource}:${boss.name}`).toBeLessThan(ordinaryHealth);
// The established leveling curve interpolates a 0.685–0.835 WoW
// floor/ceiling at level 17; editor work must not restore campaign HP.
if (characterSource === "wow") {
expect(health).toBeGreaterThanOrEqual(ordinaryHealth * 0.685 - 0.001);
expect(health).toBeLessThanOrEqual(ordinaryHealth * 0.835 + 0.001);
}
}
}
});