forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
6cc1b9217f
commit
6114a2295f
67 files changed
+6241
-347
No files matched your search
@@ -13,6 +13,7 @@ import type { AuraDefinition, DamageSchool, DispelCategory } from "./combatAuras
|
||||
import { applyAbilityBalanceTuning, currentBalanceTuningPolicy } from "./balanceTuning";
|
||||
import { preloadRuntimeTalentCatalog } from "./talentRuntimeCatalog";
|
||||
import { applyGeneratedBeastWithinTalent } from "./wow335HunterRuntime";
|
||||
import { romBloodArrowAbilityForOwner } from "./romBloodArrow";
|
||||
|
||||
export type RomSkillGroup = "primary" | "general" | "elite" | "passive";
|
||||
|
||||
@@ -1101,7 +1102,17 @@ export function abilitiesForCharacter(
|
||||
ability.romSkillGroup === "general" || (ability.romSkillGroup === "passive" && ability.id.includes("-general-"))
|
||||
));
|
||||
const elites = romEliteAbilities.filter((ability) => ability.classId === classId && ability.secondaryClassId === secondaryClassId);
|
||||
const characterAbilities = [...primary, ...secondaryGeneral, ...elites];
|
||||
const characterAbilities = [...primary, ...secondaryGeneral, ...elites].map((ability) => {
|
||||
const bloodArrow = romBloodArrowAbilityForOwner(ability, { classId, secondaryClassId });
|
||||
return bloodArrow === ability ? ability : {
|
||||
...bloodArrow,
|
||||
description: classId === "rom-knight" && secondaryClassId === "rom-scout"
|
||||
? "Activates Blood Arrow and increases ranged weapon damage. Each offensive ranged weapon skill costs 2.0% HP and 1.0% MP. Right-click the buff icon or use the skill again to deactivate; the skill enters a 10-second cooldown after deactivation."
|
||||
: classId === "rom-scout" && secondaryClassId === "rom-rogue"
|
||||
? "Activates Blood Arrow and increases physical ranged weapon damage. Ranged attacks cost 2.0% HP each. Right-click the buff icon or use the skill again to deactivate; the skill enters a 10-second cooldown after deactivation."
|
||||
: "Activates Blood Arrow and increases physical ranged weapon damage. Right-click the buff icon or use the skill again to deactivate; the skill enters a 10-second cooldown after deactivation.",
|
||||
};
|
||||
});
|
||||
if (classId !== "rom-warlock" || secondaryClassId !== "rom-priest") return characterAbilities;
|
||||
return characterAbilities.map((ability) => {
|
||||
if (ability.classId === "rom-priest" && ability.dbcSpellId === 490256) {
|
||||
|
||||
Reference in new issue
Block a user