Package net.storm.sdk.magic
Class Magic
- java.lang.Object
-
- net.storm.sdk.magic.Magic
-
public class Magic extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Magic()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
cast(InteractMethod interactMethod, Spell spell)
static void
cast(InteractMethod interactMethod, Spell spell, int actionIndex)
static void
cast(InteractMethod interactMethod, Spell spell, java.lang.String action)
static void
cast(InteractMethod interactMethod, Spell spell, INPC target)
static void
cast(InteractMethod interactMethod, Spell spell, IPlayer target)
static void
cast(InteractMethod interactMethod, Spell spell, IItem target)
static void
cast(InteractMethod interactMethod, Spell spell, ITileItem target)
static void
cast(InteractMethod interactMethod, Spell spell, ITileObject target)
static void
cast(Spell spell)
static void
cast(Spell spell, int actionIndex)
static void
cast(Spell spell, java.lang.String action)
static void
cast(Spell spell, INPC target)
static void
cast(Spell spell, IPlayer target)
static void
cast(Spell spell, IItem target)
static void
cast(Spell spell, ITileItem target)
static void
cast(Spell spell, ITileObject target)
static java.time.Instant
getLastHomeTeleportUsage()
static boolean
isAutoCasting()
static boolean
isAutoCasting(Spell spell)
static boolean
isHomeTeleportOnCooldown()
static boolean
isSpellSelected(Spell spell)
static void
selectSpell(Spell spell)
static void
setAutoCast(Spell spell, boolean defensive)
-
-
-
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(InteractMethod interactMethod, Spell spell, IItem target)
-
cast
public static void cast(InteractMethod interactMethod, Spell spell, INPC target)
-
cast
public static void cast(InteractMethod interactMethod, Spell spell, IPlayer target)
-
cast
public static void cast(InteractMethod interactMethod, Spell spell, ITileItem target)
-
cast
public static void cast(InteractMethod interactMethod, Spell spell, ITileObject target)
-
cast
public static void cast(Spell spell, ITileObject target)
-
cast
public static void cast(InteractMethod interactMethod, Spell spell)
-
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)
-
-