Class Magic


  • public class Magic
    extends java.lang.Object
    • Constructor Detail

      • Magic

        public Magic()
    • Method Detail

      • isAutoCasting

        public static boolean isAutoCasting​(Spell spell)
      • isAutoCasting

        public static boolean isAutoCasting()
      • isSpellSelected

        public static boolean isSpellSelected​(Spell spell)
      • cast

        public static void cast​(Spell spell,
                                IItem target)
      • cast

        public static void cast​(Spell spell,
                                INPC target)
      • cast

        public static void cast​(Spell spell,
                                IPlayer target)
      • cast

        public static void cast​(Spell spell)
      • cast

        public static void cast​(InteractMethod interactMethod,
                                Spell spell,
                                java.lang.String action)
      • cast

        public static void cast​(Spell spell,
                                java.lang.String action)
      • cast

        public static void cast​(Spell spell,
                                int actionIndex)
      • cast

        public static void cast​(InteractMethod interactMethod,
                                Spell spell,
                                int actionIndex)
      • selectSpell

        public static void selectSpell​(Spell spell)
      • getLastHomeTeleportUsage

        public static java.time.Instant getLastHomeTeleportUsage()
      • isHomeTeleportOnCooldown

        public static boolean isHomeTeleportOnCooldown()
      • setAutoCast

        public static void setAutoCast​(Spell spell,
                                       boolean defensive)