Class Magic

java.lang.Object
org.highlife.api.methods.magic.Magic

public class Magic extends Object
  • Constructor Details

    • Magic

      public Magic()
  • Method Details

    • interact

      public static boolean interact(Spell spell, String action)
    • castSpell

      public static boolean castSpell(Spell spell)
    • castSpell

      public static boolean castSpell(Spell spell, String action)
    • castSpellOn

      public static boolean castSpellOn(Spell spell, Entity entity)
    • castSpellOn

      public static boolean castSpellOn(Spell spell, Item item)
    • isSpellSelected

      public static boolean isSpellSelected()
    • getSelectedSpellName

      public static String getSelectedSpellName()
    • canCast

      public static boolean canCast(Spell spell)
    • canCast

      public static boolean canCast(Spell spell, boolean useBank)
    • deselect

      public static boolean deselect()
    • getAutocastSpell

      public static Spell getAutocastSpell()
    • isAutocasting

      public static boolean isAutocasting()
    • isAutocastDefensive

      public static boolean isAutocastDefensive()
    • setDefensiveAutocastSpell

      public static boolean setDefensiveAutocastSpell(Spell spell)
    • setAutocastSpell

      public static boolean setAutocastSpell(Spell spell)
    • isSpellFilteringEnabled

      public static boolean isSpellFilteringEnabled()
    • setSpellFilteringEnabled

      public static boolean setSpellFilteringEnabled(boolean enabled)
    • getSpellbook

      public static Spellbook getSpellbook()