onActivate

public void onActivate(Player player)

Called when a player activates (selects) this skill.

Parameters

player

The player activating the skill


public void onActivate(Player player, Object event)

Called when the cooldown skill activates. This is the main effect method for cooldown skills.

Parameters

player

The player activating the skill

event

The triggering event (can be null)