Update Healer Man server

This commit is contained in:
phenom committed 2026-09-20 11:23:13 -04:00
1 parent 1fedb9368d
commit cc3b2fa4d5
27 files changed
+1988 -83

No files matched your search

+7 -3
View File
@@ -5,6 +5,7 @@ import { finalDungeonBoss } from "./dungeonRunStore";
import type { DungeonDefinition } from "./dungeonTypes";
import type { PopulationEntityDefinition } from "./mobPopulation";
import type { ContentCategoryId } from "../app/contentCategories";
import { resolveBossBalanceOverride } from "./bossBalanceOverrides";
const WOW_BOSS_HEALTH_FLOOR: readonly (readonly [level: number, health: number])[] = [
// The starter anchors include enough room for authentic presence, imbue,
@@ -96,7 +97,10 @@ export function dungeonEnemyScaling(dungeon: DungeonDefinition, entity: Populati
const testingDamageScale = testing && characterSource === "wow"
? interpolatedFloor(level, WOW_BOSS_TEST_DAMAGE_SCALE)
: 1;
return { level, maxHealth: scaledHealth * multipliers.health,
healthMultiplier: authoredHealth * multipliers.health,
damageMultiplier: authoredDamage * multipliers.damage * testingDamageScale };
const bossOverride = boss
? resolveBossBalanceOverride(dungeon.id, entity.id, level)
: { healthScale: 1, damageScale: 1 };
return { level, maxHealth: scaledHealth * multipliers.health * bossOverride.healthScale,
healthMultiplier: authoredHealth * multipliers.health * bossOverride.healthScale,
damageMultiplier: authoredDamage * multipliers.damage * testingDamageScale * bossOverride.damageScale };
}