Files
healer-man/src/game/romDruidRogueCurrentCoa.ts
T
2026-10-02 10:38:12 -04:00

62 lines
2.2 KiB
TypeScript

import type { AbilityEffect } from "./abilityCatalog";
export const ROM_DRUID_ROGUE_CORROSIVE_POISON_TAG = "rom-druid-corrosive-poison";
export function isRomDruidRoguePair(row: {
readonly classId?: string;
readonly secondaryClassId?: string;
}): boolean {
return row.classId === "rom-druid" && row.secondaryClassId === "rom-rogue";
}
/** Current CoA's +105 Corrosive Poison value; lower levels use the simulator's source-level scaling. */
export function romDruidRogueCorrosivePoisonEffect(): Extract<AbilityEffect, { kind: "dot" }> {
return {
kind: "dot",
coefficient: 0,
school: "shadow",
basePoints: 11_342,
sourceLevel: 105,
ticks: 12,
intervalMs: 1_000,
tag: ROM_DRUID_ROGUE_CORROSIVE_POISON_TAG,
};
}
export function romDruidRogueCooldownRider(): AbilityEffect {
return {
kind: "cooldown-reset",
mode: "reduce",
abilityName: "Sinister Request",
amountMs: 1_000,
};
}
export const ROM_DRUID_ROGUE_SINISTER_REQUEST_RESOURCES = Object.freeze([
"mana",
"rage",
"focus",
"energy",
"psi",
"nature-power",
] as const);
export function romDruidRogueSinisterRequestEffects(): readonly AbilityEffect[] {
return ROM_DRUID_ROGUE_SINISTER_REQUEST_RESOURCES.map((resource) => ({
kind: "resource" as const,
amount: 100,
resource,
percentage: true,
scope: "party" as const,
}));
}
export const ROM_DRUID_ROGUE_NECROTIC_WOUND_DESCRIPTION =
"Costs 4% MP and 1 Nature's Power. Requires the target to have Corrosive Poison. Channels for 1.5 seconds and deals 329.7% Dark damage per hit over 3 hits to enemies within radius 80 around the target, then spreads Corrosive Poison to them. No cooldown. Each successful cast reduces Sinister Request's cooldown by 1 second.";
export const ROM_DRUID_ROGUE_CORROSIVE_POISON_DESCRIPTION =
"Costs 25 Energy. Instantly applies Corrosive Poison to one target, dealing 11,342 Dark damage every second for 12 seconds. Range 150; 1-second cooldown.";
export const ROM_DRUID_ROGUE_SINISTER_REQUEST_DESCRIPTION =
"Instantly restores the MP, Rage, Focus, Energy, Psi, and Nature's Power of party members within radius 150 to their maximum values. Cooldown: 15 seconds. Each successful Poisonous Widow Embrace or Necrotic Wound cast reduces this cooldown by 1 second.";