CooldownSkill

public interface CooldownSkill

Interface for COOLDOWN-type skills that have internal cooldowns.

Cooldown skills can trigger their effect but must wait for a cooldown period before they can trigger again (e.g., survive fatal damage once per minute).

Inheritors

Functions

Link copied to clipboard
public abstract void endCooldown(Player player)
Manually ends the cooldown for a player.
Link copied to clipboard
public abstract long getCooldownSeconds(int skillLevel)
Gets the cooldown duration in seconds.
Link copied to clipboard
public abstract long getRemainingCooldown(Player player)
Gets the remaining cooldown time for a player.
Link copied to clipboard
public abstract boolean isOnCooldown(Player player)
Checks if a player is currently on cooldown for this skill.
Link copied to clipboard
public void onActivate(Player player, Object event)
Called when the cooldown skill activates.
Link copied to clipboard
public abstract void startCooldown(Player player, int skillLevel)
Starts the cooldown for a player.
Link copied to clipboard
public boolean triggersOnOffensiveHit()
Whether generic player-to-elite hit handling should trigger this cooldown skill.
Link copied to clipboard
public boolean tryActivate(Player player, Object event)
Attempts to activate the skill, reporting whether it actually fired.