Interface TargetSkill
public interface TargetSkill
Interface for skills that require a specific target to cast
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 skilltarget
- target of the skilllevel
- skill levelally
- whether the target is an ally- Returns:
- true if could cast, false otherwise
-