Update Healer Man server
This commit is contained in:
1 parent
6114a2295f
commit
69809f7228
593 files changed
+903643
-40774
No files matched your search
@@ -55,6 +55,7 @@ import { specializationsForClass } from "../../src/game/specializationCatalog";
|
||||
import { BENCHMARK_POLICY_ID, BenchmarkController } from "../../src/game/benchmark/benchmarkController";
|
||||
import { COMBAT_ROTATION_VERSION, rotationProfileFor } from "../../src/game/combatRotation";
|
||||
import { subscribeRotationDecisions } from "../../src/game/rotationTelemetry";
|
||||
import { PartyCastTelemetry } from "../../src/game/benchmark/partyCastTelemetry";
|
||||
import {
|
||||
DEFAULT_COMPANION_COOLDOWN_POLICY,
|
||||
installCompanionCooldownPolicy,
|
||||
@@ -499,14 +500,14 @@ async function runBoss(
|
||||
decisions: 1,
|
||||
});
|
||||
});
|
||||
// Instant resource, aura, pet, and summon actions do not produce the damage,
|
||||
// healing, absorb, or cast events used by the original report collector.
|
||||
// Count their completed release once so Balance Lab does not label working
|
||||
// actions such as Bloodrage and Feral Spirit as available-but-unused.
|
||||
// Companion ability releases carry action completion for every payload.
|
||||
// Unlike player casts, companions do not append `kind: "cast"` events, so
|
||||
// relying on those events undercounts damaging and healing companion casts.
|
||||
const partyCastTelemetry = new PartyCastTelemetry();
|
||||
const stopPresentation = subscribeCombatPresentation((message) => {
|
||||
if (message.kind !== "event" || message.event.phase !== "release") return;
|
||||
if (message.kind !== "event" || !partyCastTelemetry.record(message.event)) return;
|
||||
const source = byActorId.get(message.event.sourceActorId);
|
||||
if (!source || abilityProducesAttributedCombatEvent(message.event.abilityId)) return;
|
||||
if (!source) return;
|
||||
source.casts += 1;
|
||||
abilityMetrics(source, message.event.abilityId).casts += 1;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user