Class WOLFSBANE_POTION

java.lang.Object
net.pottercraft.ollivanders2.potion.O2Potion
net.pottercraft.ollivanders2.potion.WOLFSBANE_POTION

public final class WOLFSBANE_POTION extends O2Potion
Wolfsbane Potion - relieves the symptoms of Lycanthropy.

When consumed, this potion applies the LYCANTHROPY_RELIEF effect to the player, alleviating the severe symptoms of Lycanthropy (werewolf curse). While this potion does not cure the condition entirely, it greatly reduces the symptoms' severity, allowing affected players to function more normally during their afflicted state. This potion is essential for managing the debilitating effects of Lycanthropy and represents the most advanced potion-making techniques available.

The LYCANTHROPY_RELIEF effect provides temporary respite from the worst aspects of the curse, making this a critical potion for those affected by Lycanthropy. As an advanced potion with a complex recipe, it requires significant potion-making skill to brew successfully.

  • Constructor Details

    • WOLFSBANE_POTION

      public WOLFSBANE_POTION(@NotNull @NotNull Ollivanders2 plugin)
      Constructor for Wolfsbane Potion.

      Initializes the potion with its complex recipe of rare ingredients (Wolfsbane, Mandrake Leaf, Poisonous Potato, Dittany, and Standard Potion Ingredients), description text, flavor text, potion color, and the LYCANTHROPY_RELIEF effect. Sets up the potion as an advanced brewing recipe reflecting the complexity of managing Lycanthropy symptoms.

      Parameters:
      plugin - a callback to the plugin instance
  • Method Details

    • drink

      public void drink(@NotNull @NotNull org.bukkit.entity.Player player)
      Drink the Wolfsbane Potion and relieve Lycanthropy symptoms.

      Applies the LYCANTHROPY_RELIEF effect to the player for the default potion duration. This effect alleviates the severe symptoms of Lycanthropy, providing temporary relief from the curse's worst manifestations. While the potion does not cure Lycanthropy entirely, it greatly reduces the debilitating symptoms and allows the affected player to function more normally during the effect duration. The relief is temporary and will wear off after the effect expires.

      Specified by:
      drink in class O2Potion
      Parameters:
      player - the player who drank the potion