Interface ActiveSkill

All Known Subinterfaces:
Backpack, Beacon, Behavior, Pickup

public interface ActiveSkill
Marker interface for skills that can be manually activated by the player (e.g., via a command or hotkey). A skill implementing ActiveSkill exposes an activate() method that triggers the skill's one-shot effect, as opposed to passive skills that fire automatically on combat events.

Examples of active skills include Beacon (applies a potion effect area) and Lightning (strikes a target with lightning). The plugin's command layer calls activate() when the owning player requests the skill.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Attempts to activate this skill's effect.
  • Method Details

    • activate

      boolean activate()
      Attempts to activate this skill's effect.
      Returns:
      true if the skill fired successfully; false if it could not activate (e.g., on cooldown, missing targets, or insufficient level)