Class BRACKIUM_EMENDO

java.lang.Object
net.pottercraft.ollivanders2.spell.O2Spell
net.pottercraft.ollivanders2.spell.BRACKIUM_EMENDO

public final class BRACKIUM_EMENDO extends O2Spell
Healing spell that can be used to mend broken bones. Can also be used to remove bones and can be used defensively against skeletons and withers.
See Also:
  • Constructor Details

    • BRACKIUM_EMENDO

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

      public BRACKIUM_EMENDO(@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
  • Method Details

    • doCheckEffect

      protected void doCheckEffect()
      Find living entity near the projectile - if it is a skeleton, damage it, if it is a player, heal them.
      Specified by:
      doCheckEffect in class O2Spell