Update Healer Man server
This commit is contained in:
1 parent
f90ba7d989
commit
189b94d6b7
51 files changed
+3448
-154
No files matched your search
@@ -247,8 +247,13 @@ export function combatEffectManifestEntry(
|
||||
export function originalCombatPhaseAssets(
|
||||
entry: CombatEffectManifestEntry | null | undefined,
|
||||
phase: CombatPresentationPhase,
|
||||
abilityId?: string,
|
||||
): readonly CombatEffectPhaseAsset[] {
|
||||
return (entry?.phases?.[phase] ?? []).filter((asset) => (
|
||||
const sourcePhase = abilityId === "wow335-priest-holy-nova" && phase === "impact"
|
||||
? "cast-start"
|
||||
: phase;
|
||||
if (abilityId === "wow335-priest-holy-nova" && phase !== "impact") return [];
|
||||
return (entry?.phases?.[sourcePhase] ?? []).filter((asset) => (
|
||||
typeof asset.effectGraphUrl === "string"
|
||||
&& asset.effectGraphUrl.startsWith("/assets/game/combat-effects/original/")
|
||||
&& (
|
||||
@@ -257,15 +262,20 @@ export function originalCombatPhaseAssets(
|
||||
|| asset.effectKind === "wow-m2-static-mesh"
|
||||
|| asset.effectKind === "runewaker-particles"
|
||||
)
|
||||
&& (abilityId !== "wow335-priest-holy-nova"
|
||||
|| /(?:^|\/)holynova_impact_base\.mdx$/i.test(asset.model ?? ""))
|
||||
));
|
||||
}
|
||||
|
||||
export function combatOriginalPhaseAssets(
|
||||
event: Pick<CombatPresentationEvent, "phase" | "source" | "sourceSpellId">,
|
||||
event: Pick<CombatPresentationEvent, "phase" | "source" | "sourceSpellId" | "abilityId">,
|
||||
): readonly CombatEffectPhaseAsset[] {
|
||||
// The imported Holy Nova instant kit puts the burst alongside two precast
|
||||
// flashes. Route only that burst to impact so it plays once per cast.
|
||||
return originalCombatPhaseAssets(
|
||||
combatEffectManifestEntry(event.sourceSpellId, event.source),
|
||||
event.phase,
|
||||
event.abilityId,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user