Class DEPULSO


public final class DEPULSO extends Knockback
Banishing Charm that pushes entities away from the caster.

When the projectile hits an entity, the spell pushes it away with force based on the caster's skill level. This spell can target any entity type.

See Also:
  • Field Details

    • minDistanceConfig

      public static int minDistanceConfig
      The min distance
    • maxDistanceConfig

      public static int maxDistanceConfig
      The max distance
    • maxRadiusConfig

      public static double maxRadiusConfig
      The max radius
    • maxTargetConfig

      public static int maxTargetConfig
      The max number of targets
  • Constructor Details

    • DEPULSO

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

      public DEPULSO(@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