Class CRYSTAL_BALL

java.lang.Object
net.pottercraft.ollivanders2.divination.O2Divination
net.pottercraft.ollivanders2.divination.CRYSTAL_BALL

public class CRYSTAL_BALL extends O2Divination
Crystal Ball divination spell implementation using scrying and clairvoyant vision.

Crystal-gazing (also known as scrying) is the art of looking into a crystal ball or crystalline orb to gain insight into future events and hidden truths. A skilled diviner gazes into the crystal's depths, where shadowy images and clairvoyant vibrations reveal glimpses of what is to come. This method requires focus and mystical attunement to perceive the subtle visions within the crystal.

This class implements the crystal ball divination method, generating randomized prophecies based on visions and clairvoyant readings. The prophecies are created by combining randomly selected prefixes (which reference the crystal orb, clairvoyant vibrations, and shadowy portents) with divination text from the parent O2Divination class. Crystal ball divination has moderate maximum accuracy (30 points), making it more reliable than basic divination methods like astrology and cartomancy, but less powerful than tarot or centaur divination.

See Also:
  • Constructor Details

    • CRYSTAL_BALL

      public CRYSTAL_BALL(@NotNull @NotNull Ollivanders2 plugin, @NotNull @NotNull org.bukkit.entity.Player prophet, @NotNull @NotNull org.bukkit.entity.Player target, int experience)
      Constructor that initializes a crystal ball divination prophecy.

      Creates a new crystal ball divination instance and populates it with scrying and clairvoyant prophecy prefixes. Sets the divination type to CRYSTAL_BALL with a maximum accuracy of 30 points. The prophecy prefixes reference the crystal orb, clairvoyant vibrations, and shadowy visions revealed through scrying into the crystal's depths.

      Parameters:
      plugin - a callback to the plugin for accessing configuration and other resources
      prophet - the player who is performing the divination (casting the crystal ball spell)
      target - the player who is the subject of the divination prophecy
      experience - the experience level of the prophet, affecting prophecy accuracy and strength