Class ASCENDIO


public final class ASCENDIO extends Knockback
Climbing Charm that propels the caster upward.

When cast, the spell launches the caster into the air with an upward velocity based on their skill level. If the caster is underwater, they are propelled to the water surface instead. The maximum distance is limited to prevent fall damage upon landing.

See Also:
  • Field Details

    • minDistanceConfig

      public static double minDistanceConfig
      The min distance
    • maxDistanceConfig

      public static double maxDistanceConfig
      The max distance
  • Constructor Details

    • ASCENDIO

      public ASCENDIO(Ollivanders2 plugin)
      Default constructor for use in generating spell text. Do not use to cast the spell.
      Parameters:
      plugin - the Ollivanders2 plugin
    • ASCENDIO

      public ASCENDIO(@NotNull @NotNull Ollivanders2 plugin, @NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull Double rightWand)
      Constructor.
      Parameters:
      plugin - a callback to the MC plugin
      player - the player who cast this spell
      rightWand - which wand the player was using