Update Healer Man server

This commit is contained in:
phenom committed 2026-09-30 09:57:13 -04:00
1 parent 35dfdaed61
commit 4fb7a0b9c8
161 files changed
+24618 -529

No files matched your search

+15
View File
@@ -147,9 +147,24 @@ export function romWarlockCastEffects(
effects: readonly AbilityEffect[],
targetTags: readonly string[],
learnedPassiveSpellIds: readonly number[] = [],
targetHealthPercent = 1,
): readonly AbilityEffect[] {
if (ability.source !== "runewaker" || ability.classId !== "rom-warlock") return effects;
if (ability.dbcSpellId === 498544) {
return effects.flatMap((effect): AbilityEffect[] => {
if (effect.kind !== "apply-aura" || effect.sourceAuraType !== 192 || effect.miscValue !== 5) {
return [effect];
}
if (targetHealthPercent >= 0.2) return [];
return [{
...effect,
recipient: "caster",
aura: { ...effect.aura, disposition: "buff" },
}];
});
}
if (ability.dbcSpellId === 498549
&& learnedPassiveSpellIds.includes(498648)) {
// Mind Shield (498648) reduces Defense Net's sourced five-second aura by one second.