Interface SkillShot

All Known Implementing Classes:
DynamicSkill

public interface SkillShot

Interface for skills that can be cast without a direct target

Common applications would include firing projectiles, self-targeting skills, and AOE abilities around yourself or where you are looking

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    cast(org.bukkit.entity.LivingEntity user, int level)
    Casts the skill
    boolean
    cast(org.bukkit.entity.LivingEntity user, int level, boolean force)
    Casts the skill
  • Method Details

    • cast

      boolean cast(org.bukkit.entity.LivingEntity user, int level, boolean force)
      Casts the skill
      Parameters:
      user - user of the skill
      level - skill level
      force - force the cast
      Returns:
      true if could cast, false otherwise
    • cast

      boolean cast(org.bukkit.entity.LivingEntity user, int level)
      Casts the skill
      Parameters:
      user - user of the skill
      level - skill level
      Returns:
      true if could cast, false otherwise