ProcCooldownTracker

public final class ProcCooldownTracker

Per-player, per-skill internal proc cooldown tracker.

Used to enforce getInternalCooldownMillis so burst-damage procs cannot fire faster than their defined cadence, even if a player is using an autoclicker that lands many hits per second.

Functions

Link copied to clipboard
public static void clear(Player player)
Clears all tracked proc state for a player (e.g.
Link copied to clipboard
public static boolean tryConsume(Player player, String skillId, long cooldown)
Returns true if the given player's proc of the given skill is ready to fire (not on internal cooldown).