Class Magic

java.lang.Object
org.rspeer.game.component.tdi.Magic

public class Magic extends Object
Provides operations relating to the magic spell book
See Also:
  • Constructor Details

    • Magic

      public Magic()
  • Method Details

    • isHomeTeleportOnCooldown

      public static boolean isHomeTeleportOnCooldown()
    • isCastingHomeTeleport

      public static boolean isCastingHomeTeleport(PathingEntity<?> entity)
    • getHomeTeleportSpell

      public static Spell getHomeTeleportSpell()
    • isSpellSelected

      public static boolean isSpellSelected()
    • getSelectedSpell

      public static Spell getSelectedSpell()
    • getSpellTargetFlags

      public static int getSpellTargetFlags()
    • canCast

      public static boolean canCast(Spell spell)
    • getCastableSpells

      public static Set<Spell> getCastableSpells()
    • interact

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

      public static boolean cast(Spell spell)
    • getBook

      public static Magic.Book getBook()
    • cast

      public static boolean cast(Spell spell, Interactable target)
    • isStaffEquipped

      public static boolean isStaffEquipped(Magic.Rune rune)
    • isTomeEquipped

      public static boolean isTomeEquipped(Magic.Rune rune)