Release Healer Man 0.1.12

This commit is contained in:
phenom committed 2026-09-01 14:35:56 -04:00
1 parent 13970d03c8
commit 65e24f644e
201 files changed
+5061 -123

No files matched your search

+43
View File
@@ -7,6 +7,7 @@ import {
combatPresentationSessionId,
emitCombatPresentation,
normalizeCombatPresentationSettings,
originalCombatPhaseAssets,
presentationDeliveryForAbility,
presentationSchoolForAbility,
resetCombatPresentationSession,
@@ -22,11 +23,20 @@ describe("combat presentation", () => {
audioEnabled: { enemy: false },
audioVolume: { player: 2, party: -1, enemy: 0.35 },
})).toEqual({
vfxMode: "generated",
vfxQuality: "low",
vfxEnabled: { player: false, party: true, enemy: true },
audioEnabled: { player: true, party: true, enemy: false },
audioVolume: { player: 1, party: 0, enemy: 0.35 },
});
expect(normalizeCombatPresentationSettings({
...DEFAULT_COMBAT_PRESENTATION_SETTINGS,
vfxMode: "original",
}).vfxMode).toBe("original");
expect(normalizeCombatPresentationSettings({
...DEFAULT_COMBAT_PRESENTATION_SETTINGS,
vfxMode: "hybrid",
}).vfxMode).toBe("generated");
expect(normalizeCombatPresentationSettings(null)).toEqual(DEFAULT_COMBAT_PRESENTATION_SETTINGS);
});
@@ -84,4 +94,37 @@ describe("combat presentation", () => {
expect(style.authentic).toBe(false);
expect(style.sourceModelNames).toEqual([]);
});
it("exposes only packaged original phase graphs", () => {
const entry = {
key: "wow335:2061",
source: "wow335" as const,
spellId: 2061,
phases: {
impact: [
{ model: "Spells/FlashHeal_Base.mdx" },
{
model: "Spells/FlashHeal_Base.mdx",
effectKind: "wow-m2-particles" as const,
effectGraphUrl: "/assets/game/combat-effects/original/wow335/priest/graphs/flash-heal.json",
},
{
effectKind: "wow-m2-particles" as const,
effectGraphUrl: "https://example.invalid/not-a-packaged-effect.json",
},
{
model: "Spells/HolyDivineShield_State_Base.mdx",
effectKind: "wow-m2-static-mesh" as const,
effectGraphUrl: "/assets/game/combat-effects/original/wow335/priest/graphs/shield.json",
},
],
},
};
expect(originalCombatPhaseAssets(entry, "impact")).toEqual([
entry.phases.impact[1],
entry.phases.impact[3],
]);
expect(originalCombatPhaseAssets(entry, "release")).toEqual([]);
});
});