Standard
Every spell of the standard spellbook. Pass one to MagicAPI.cast.
EnumRLPlugins API
public enum Standard implements SpellValues
HOME_TELEPORT, VARROCK_TELEPORT, GRAND_EXCHANGE_TELEPORT, LUMBRIDGE_TELEPORT, FALADOR_TELEPORT, TELEPORT_TO_HOUSE, CAMELOT_TELEPORT, SEERS_TELEPORT, ARDOUGNE_TELEPORT, CIVITAS_ILLA_FORTIS, WATCHTOWER_TELEPORT, YANILLE_TELEPORT, TROLLHEIM_TELEPORT, TELEPORT_TO_APE_ATOLL, TELEPORT_TO_KOUREND, TELEOTHER_LUMBRIDGE, TELEOTHER_FALADOR, TELEPORT_TO_BOUNTY_TARGET, TELEOTHER_CAMELOT, WIND_STRIKE, WATER_STRIKE, EARTH_STRIKE, FIRE_STRIKE, WIND_BOLT, WATER_BOLT, EARTH_BOLT, FIRE_BOLT, WIND_BLAST, WATER_BLAST, EARTH_BLAST, FIRE_BLAST, WIND_WAVE, WATER_WAVE, EARTH_WAVE, FIRE_WAVE, WIND_SURGE, WATER_SURGE, EARTH_SURGE, FIRE_SURGE, SARADOMIN_STRIKE, CLAWS_OF_GUTHIX, FLAMES_OF_ZAMORAK, CRUMBLE_UNDEAD, IBAN_BLAST, MAGIC_DART, CONFUSE, WEAKEN, CURSE, BIND, SNARE, VULNERABILITY, ENFEEBLE, ENTANGLE, STUN, TELE_BLOCK, CHARGE, BONES_TO_BANANAS, LOW_LEVEL_ALCHEMY, SUPERHEAT_ITEM, HIGH_LEVEL_ALCHEMY, BONES_TO_PEACHES, LVL_1_ENCHANT, LVL_2_ENCHANT, LVL_3_ENCHANT, CHARGE_WATER_ORB, LVL_4_ENCHANT, CHARGE_EARTH_ORB, CHARGE_FIRE_ORB, CHARGE_AIR_ORB, LVL_5_ENCHANT, LVL_6_ENCHANT, LVL_7_ENCHANT, TELEKINETIC_GRAB, TRANSMUTE_UP, TRANSMUTE_DOWN
Members
Methods
- booleancanCast()
Whether it can cast.
- intgetAction()
The action.
- intgetAutoCastIndex()
The auto cast index.
- intgetLevel()
The level.
- intgetMaxHit()
Gets the base max hit for offensive standard spellbook spells.
- RuneRequirement[]getRequirements()
The requirements.
- intgetSpellbookIndex()
The spellbook index.
- intgetSpellIndex()
The spell index.
- intgetWidget()
The widget.
- booleanhasRequirements()
Whether it has requirements.
- booleanhaveEquipment()
Have equipment.
- booleanhaveItem()
Have item.
- booleanhaveRunesAvailable()
Have runes available.
canCast()
public boolean canCast()Whether it can cast.
getAction()
public int getAction()The action.
getAutoCastIndex()
public int getAutoCastIndex()The auto cast index.
getLevel()
public int getLevel()The level.
getMaxHit()
public int getMaxHit()Gets the base max hit for offensive standard spellbook spells.
Returns
Max hit, or 0 for non-damaging spells.
getRequirements()
public RuneRequirement[] getRequirements()The requirements.
getSpellbookIndex()
public int getSpellbookIndex()The spellbook index.
getSpellIndex()
public int getSpellIndex()The spell index.
getWidget()
public int getWidget()The widget.
hasRequirements()
public boolean hasRequirements()Whether it has requirements.
haveEquipment()
public boolean haveEquipment()Have equipment.
haveItem()
public boolean haveItem()Have item.
haveRunesAvailable()
public boolean haveRunesAvailable()Have runes available.
Also allowed
Every enum has these, as in plain Java.
cast, castOn, compareTo, equals, hashCode, name, ordinal, setAutoCast, setDefensiveAutoCast, toString, valueOf, values