Class ElevationCondition


public class ElevationCondition extends ConditionComponent
A condition for dynamic skills that requires the target to fit the elevation requirement
  • Constructor Details

    • ElevationCondition

      public ElevationCondition()
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in class EffectComponent
    • execute

      public boolean execute(org.bukkit.entity.LivingEntity caster, int level, List<org.bukkit.entity.LivingEntity> targets, boolean force)
      Executes the component
      Overrides:
      execute in class ConditionComponent
      Parameters:
      caster - caster of the skill
      level - level of the skill
      targets - targets to apply to
      force -
      Returns:
      true if applied to something, false otherwise