Interface TargetSkill


public interface TargetSkill

Interface for skills that require a specific target to cast

  • Method Summary

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

    • cast

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