Class DamageAbilityEffect

java.lang.Object
org.woftnw.eof.ability.effect.AbilityEffect
org.woftnw.eof.ability.effect.DamageAbilityEffect

public class DamageAbilityEffect extends AbilityEffect
  • Field Details

    • DAMAGE

      protected final float DAMAGE
      The damage of the effect.
  • Constructor Details

    • DamageAbilityEffect

      public DamageAbilityEffect(ElytrasOfFire plugin, Target target, float damage)
      Create an AbilityEffect.
      Parameters:
      target - The target of the effect.
      damage - The damage of the effect.
  • Method Details

    • getDamage

      public float getDamage()
      Get the damage of this effect.
      Returns:
      The damage of this effect.
    • getDescription

      public net.kyori.adventure.text.Component getDescription()
      Description copied from class: AbilityEffect
      Get the description of this ability.
      Specified by:
      getDescription in class AbilityEffect
      Returns:
      The description as a TextComponent.
    • apply

      public void apply(org.bukkit.entity.Player user)
      Specified by:
      apply in class AbilityEffect