StackingSkill

public interface StackingSkill

Interface for STACKING-type skills that build up over actions.

Stacking skills accumulate stacks through specific actions and reset under certain conditions (e.g., consecutive hits, time stationary).

Inheritors

Functions

Link copied to clipboard
public abstract void addStack(Player player)
Adds a stack for the player (up to max).
Link copied to clipboard
public boolean banksStacksExternally()
Whether stacks are banked by something other than the on-hit dispatcher (e.g.
Link copied to clipboard
public abstract double getBonusPerStack(int skillLevel)
Gets the bonus value per stack at the given skill level.
Link copied to clipboard
public abstract int getCurrentStacks(Player player)
Gets the current number of stacks for a player.
Link copied to clipboard
public abstract int getMaxStacks()
Gets the maximum number of stacks this skill can accumulate.
Link copied to clipboard
public double getTotalStackBonus(Player player, int skillLevel)
Gets the total bonus represented by the currently banked stacks.
Link copied to clipboard
public abstract void resetStacks(Player player)
Resets all stacks for a player.
Link copied to clipboard
Whether this hit should add a stack.