forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
39458d5de6
commit
6cc1b9217f
203 files changed
+133929
-31271
No files matched your search
@@ -1,6 +1,10 @@
|
||||
import type { AbilityDefinition, AbilityEffect } from "./abilityCatalog";
|
||||
import type { RomGeneratedAbilityLike } from "./romAbilitySemantics";
|
||||
import { romPriestChampionCastEffects } from "./romPriestChampionOverrides";
|
||||
import {
|
||||
ROM_KNIGHT_SCOUT_BLOOD_PUNISHMENT_TAG,
|
||||
romKnightScoutBloodPunishmentActivationEffects,
|
||||
} from "./romKnightScoutBloodPunishment";
|
||||
|
||||
export const ROM_PRIEST_WARRIOR_BATTLE_MONK_STANCE_TAG = "rom-priest-warrior-battle-monk-stance";
|
||||
|
||||
@@ -96,8 +100,8 @@ export function overrideRomPriestKnightEffects(
|
||||
return passiveState(490066, row.name, "rom-weaken-weapon-strength");
|
||||
case 499926: // Evil Shackles: Holy Chains can root any creature with shorter duration.
|
||||
return passiveState(499926, row.name, "rom-evil-shackles");
|
||||
case 499923: // Blood Punishment: source skill 499924 grants conditional bonuses.
|
||||
return passiveState(499923, row.name, "rom-blood-punishment");
|
||||
case 499923: // Blood Punishment modifies Blood Arrow while its source aura is active.
|
||||
return passiveState(499923, row.name, ROM_KNIGHT_SCOUT_BLOOD_PUNISHMENT_TAG);
|
||||
case 491648: // Last Prayer affects only the next spell's cast time.
|
||||
return [{
|
||||
kind: "apply-aura",
|
||||
@@ -214,6 +218,8 @@ export function romPriestKnightCastEffects(
|
||||
if (ability.source !== "runewaker" || casterMaxHealth <= 0) return effects;
|
||||
const priestChampionEffects = romPriestChampionCastEffects(ability, effects, learnedPassiveSpellIds);
|
||||
if (priestChampionEffects !== effects) return priestChampionEffects;
|
||||
const bloodPunishmentEffects = romKnightScoutBloodPunishmentActivationEffects(ability, effects, passiveTags);
|
||||
if (bloodPunishmentEffects !== effects) return bloodPunishmentEffects;
|
||||
if (ability.dbcSpellId === 490276
|
||||
&& ability.classId === "rom-priest"
|
||||
&& ability.secondaryClassId === undefined) {
|
||||
@@ -391,25 +397,6 @@ export function romPriestKnightCastEffects(
|
||||
miscValue: 0,
|
||||
triggerSpellId: 502907,
|
||||
}];
|
||||
case 490434: // Source 499924 adds component 623167 to the base Blood Arrow.
|
||||
if (!hasTag(passiveTags, "rom-blood-punishment")) return effects;
|
||||
return [...effects, {
|
||||
kind: "apply-aura",
|
||||
recipient: "caster",
|
||||
aura: {
|
||||
id: "rom-pair-blood-arrow-healing-received",
|
||||
name: "Blood Punishment",
|
||||
disposition: "buff",
|
||||
durationMs: 30_000,
|
||||
modifiers: [{ kind: "healing", direction: "taken", operation: "percent", value: 0.5 }],
|
||||
utilityTags: ["rom-blood-arrow-upgrade"],
|
||||
dispelCategory: "magic",
|
||||
},
|
||||
sourceEffectType: -1,
|
||||
sourceAuraType: 144,
|
||||
miscValue: 50,
|
||||
triggerSpellId: 623167,
|
||||
}];
|
||||
default:
|
||||
return effects;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user