Update Healer Man server
This commit is contained in:
1 parent
4c768fbec6
commit
b16821e92e
330 files changed
+35406
-1760
No files matched your search
@@ -2,6 +2,7 @@ import type { AbilityEffect } from "./abilityCatalog";
|
||||
import type { AuraDefinition } from "./combatAuras";
|
||||
|
||||
export const WOW335_ROGUE_IMPROVED_KICK_TAG = "wow335-rogue-improved-kick";
|
||||
export const WOW335_ROGUE_IMPROVED_KICK_TALENT_ID = "talent-206";
|
||||
export const WOW335_ROGUE_UNFAIR_ADVANTAGE_COOLDOWN_TAG = "wow335-rogue-unfair-advantage-cooldown";
|
||||
export const WOW335_ROGUE_UNFAIR_ADVANTAGE_DAMAGE_ID = "wow335-rogue-unfair-advantage";
|
||||
|
||||
@@ -25,6 +26,14 @@ const IMPROVED_KICK_CAPSTONE_AURA: AuraDefinition = {
|
||||
],
|
||||
};
|
||||
|
||||
/** Improved Kick silences on a 50%/100% rank chance for the stock two-rank talent. */
|
||||
export function wow335RogueImprovedKickSilenceDurationMs(rank: number, roll: number): number {
|
||||
const safeRank = Math.max(0, Math.min(2, Math.trunc(Number.isFinite(rank) ? rank : 0)));
|
||||
const safeRoll = Number.isFinite(roll) ? Math.max(0, Math.min(1, roll)) : 1;
|
||||
const chance = [0, 0.5, 1][safeRank] ?? 0;
|
||||
return chance > 0 && safeRoll < chance ? 2_000 : 0;
|
||||
}
|
||||
|
||||
/** Generated talent 206 has a two-rank capstone with this success-only rider. */
|
||||
export function wow335RogueImprovedKickAuraEffectForRank(
|
||||
rank: number,
|
||||
|
||||
Reference in new issue
Block a user