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

+19 -2
View File
@@ -60,7 +60,22 @@ export function romAbilityNeedsTwoHand(ability: AbilityDefinition): boolean {
export function romAbilityNeedsRangedWeapon(ability: AbilityDefinition): boolean {
return ability.source === "runewaker"
&& [490438, 491452, 491616, 494021, 494037, 494039, 494040, 494042, 494629].includes(ability.dbcSpellId);
&& [
490420, // Scout Joint Blow uses a ranged weapon.
490423, // Scout Shot uses a ranged weapon.
490438, // Scout Neck Strike requires a ranged weapon.
491128, // Scout Wind Arrows uses a ranged weapon.
491292, // Scout Vampire Arrows uses a ranged weapon.
491452,
491616,
492589, // Scout Autoshot uses a ranged weapon.
494021,
494037,
494039,
494040,
494042,
494629,
].includes(ability.dbcSpellId);
}
export function romAbilityRequiredTargetStateTag(ability: AbilityDefinition): string | null {
@@ -178,6 +193,7 @@ export function romEffectsForCast(ability: AbilityDefinition, context: RomCastMe
ability,
priestKnightEffects,
context.friendlyTargetHealthPercent ?? 1,
context.passiveTags ?? [],
);
const knightEffects = romKnightCastEffects(ability, priestWarlockEffects, context.passiveTags ?? []);
const mageWarlockEffects = romMageWarlockCastEffects(
@@ -199,6 +215,7 @@ export function romEffectsForCast(ability: AbilityDefinition, context: RomCastMe
wardenEffects,
context.targetTags ?? [],
context.learnedPassiveSpellIds ?? [],
context.targetHealthPercent,
);
const warriorPassives = new Set(context.learnedPassiveSpellIds ?? []);
const sourceSchoolAdjustedEffects = romWarriorPhysicalWeaponTooltip(ability)
@@ -230,7 +247,7 @@ export function romEffectsForCast(ability: AbilityDefinition, context: RomCastMe
const selectedHot = empowered ? hots[0] : hots[1] ?? hots[0];
return [
...(selectedHot ? [selectedHot] : []),
...(empowered ? [{ kind: "resource-drain" as const, amount: 1, burn: false, resource: "nature-power" as const }] : []),
...(empowered ? [{ kind: "resource-drain" as const, amount: 1, burn: false, resource: "nature-power" as const, recipient: "caster" as const }] : []),
];
}
case 493247: // The Final Battle only adds its second hit below 30% target HP.