Enum MagicAction
- java.lang.Object
-
- java.lang.Enum<MagicAction>
-
- net.runelite.client.plugins.skillcalculator.skills.MagicAction
-
- All Implemented Interfaces:
Serializable
,Comparable<MagicAction>
,SkillAction
public enum MagicAction extends Enum<MagicAction> implements SkillAction
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLevel()
Gets the level required to perform this skill action.String
getName()
String
getName(ItemManager itemManager)
Gets the name of this skill action, usually the item or object created, or the spell cast.int
getSprite()
Gets the sprite ID for this skill action, if applicable.float
getXp()
Gets the amount of xp granted for performing this skill action.boolean
isMembers()
boolean
isMembers(ItemManager itemManager)
static MagicAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static MagicAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface net.runelite.client.plugins.skillcalculator.skills.SkillAction
getExcludedSkillBonuses, getIcon, isBonusApplicable
-
-
-
-
Enum Constant Detail
-
WIND_STRIKE
public static final MagicAction WIND_STRIKE
-
CONFUSE
public static final MagicAction CONFUSE
-
ENCHANT_OPAL_BOLT
public static final MagicAction ENCHANT_OPAL_BOLT
-
WATER_STRIKE
public static final MagicAction WATER_STRIKE
-
ARCEUUS_LIBRARY_TELEPORT
public static final MagicAction ARCEUUS_LIBRARY_TELEPORT
-
ENCHANT_SAPPHIRE_BOLT
public static final MagicAction ENCHANT_SAPPHIRE_BOLT
-
ENCHANT_SAPPHIRE_JEWELLERY
public static final MagicAction ENCHANT_SAPPHIRE_JEWELLERY
-
EARTH_STRIKE
public static final MagicAction EARTH_STRIKE
-
WEAKEN
public static final MagicAction WEAKEN
-
FIRE_STRIKE
public static final MagicAction FIRE_STRIKE
-
ENCHANT_JADE_BOLT
public static final MagicAction ENCHANT_JADE_BOLT
-
BONES_TO_BANANAS
public static final MagicAction BONES_TO_BANANAS
-
BASIC_REANIMATION
public static final MagicAction BASIC_REANIMATION
-
WIND_BOLT
public static final MagicAction WIND_BOLT
-
DRAYNOR_MANOR_TELEPORT
public static final MagicAction DRAYNOR_MANOR_TELEPORT
-
CURSE
public static final MagicAction CURSE
-
BIND
public static final MagicAction BIND
-
LOW_LEVEL_ALCHEMY
public static final MagicAction LOW_LEVEL_ALCHEMY
-
WATER_BOLT
public static final MagicAction WATER_BOLT
-
ENCHANT_PEARL_BOLT
public static final MagicAction ENCHANT_PEARL_BOLT
-
VARROCK_TELEPORT
public static final MagicAction VARROCK_TELEPORT
-
ENCHANT_EMERALD_BOLT
public static final MagicAction ENCHANT_EMERALD_BOLT
-
ENCHANT_EMERALD_JEWELLERY
public static final MagicAction ENCHANT_EMERALD_JEWELLERY
-
MIND_ALTAR_TELEPORT
public static final MagicAction MIND_ALTAR_TELEPORT
-
EARTH_BOLT
public static final MagicAction EARTH_BOLT
-
ENCHANT_TOPAZ_BOLT
public static final MagicAction ENCHANT_TOPAZ_BOLT
-
LUMBRIDGE_TELEPORT
public static final MagicAction LUMBRIDGE_TELEPORT
-
TELEKINETIC_GRAB
public static final MagicAction TELEKINETIC_GRAB
-
RESPAWN_TELEPORT
public static final MagicAction RESPAWN_TELEPORT
-
FIRE_BOLT
public static final MagicAction FIRE_BOLT
-
GHOSTLY_GRASP
public static final MagicAction GHOSTLY_GRASP
-
FALADOR_TELEPORT
public static final MagicAction FALADOR_TELEPORT
-
RESURRECT_LESSER_THRALL
public static final MagicAction RESURRECT_LESSER_THRALL
-
CRUMBLE_UNDEAD
public static final MagicAction CRUMBLE_UNDEAD
-
SALVE_GRAVEYARD_TELEPORT
public static final MagicAction SALVE_GRAVEYARD_TELEPORT
-
TELEPORT_TO_HOUSE
public static final MagicAction TELEPORT_TO_HOUSE
-
WIND_BLAST
public static final MagicAction WIND_BLAST
-
ADEPT_REANIMATION
public static final MagicAction ADEPT_REANIMATION
-
SUPERHEAT_ITEM
public static final MagicAction SUPERHEAT_ITEM
-
INFERIOR_DEMONBANE
public static final MagicAction INFERIOR_DEMONBANE
-
CAMELOT_TELEPORT
public static final MagicAction CAMELOT_TELEPORT
-
WATER_BLAST
public static final MagicAction WATER_BLAST
-
SHADOW_VEIL
public static final MagicAction SHADOW_VEIL
-
FENKENSTRAINS_CASTLE_TELEPORT
public static final MagicAction FENKENSTRAINS_CASTLE_TELEPORT
-
KOUREND_CASTLE_TELEPORT
public static final MagicAction KOUREND_CASTLE_TELEPORT
-
ENCHANT_RUBY_BOLT
public static final MagicAction ENCHANT_RUBY_BOLT
-
ENCHANT_RUBY_JEWELLERY
public static final MagicAction ENCHANT_RUBY_JEWELLERY
-
IBAN_BLAST
public static final MagicAction IBAN_BLAST
-
MAGIC_DART
public static final MagicAction MAGIC_DART
-
SMOKE_RUSH
public static final MagicAction SMOKE_RUSH
-
DARK_LURE
public static final MagicAction DARK_LURE
-
SNARE
public static final MagicAction SNARE
-
ARDOUGNE_TELEPORT
public static final MagicAction ARDOUGNE_TELEPORT
-
SHADOW_RUSH
public static final MagicAction SHADOW_RUSH
-
EARTH_BLAST
public static final MagicAction EARTH_BLAST
-
CIVITAS_ILLA_FORTIS_TELEPORT
public static final MagicAction CIVITAS_ILLA_FORTIS_TELEPORT
-
PADDEWWA_TELEPORT
public static final MagicAction PADDEWWA_TELEPORT
-
HIGH_LEVEL_ALCHEMY
public static final MagicAction HIGH_LEVEL_ALCHEMY
-
BLOOD_RUSH
public static final MagicAction BLOOD_RUSH
-
SKELETAL_GRASP
public static final MagicAction SKELETAL_GRASP
-
CHARGE_WATER_ORB
public static final MagicAction CHARGE_WATER_ORB
-
ENCHANT_DIAMOND_BOLT
public static final MagicAction ENCHANT_DIAMOND_BOLT
-
ENCHANT_DIAMOND_JEWELLERY
public static final MagicAction ENCHANT_DIAMOND_JEWELLERY
-
RESURRECT_SUPERIOR_THRALL
public static final MagicAction RESURRECT_SUPERIOR_THRALL
-
ICE_RUSH
public static final MagicAction ICE_RUSH
-
WATCHTOWER_TELEPORT
public static final MagicAction WATCHTOWER_TELEPORT
-
FIRE_BLAST
public static final MagicAction FIRE_BLAST
-
MARK_OF_DARKNESS
public static final MagicAction MARK_OF_DARKNESS
-
CLAWS_OF_GUTHIX
public static final MagicAction CLAWS_OF_GUTHIX
-
FLAMES_OF_ZAMORAK
public static final MagicAction FLAMES_OF_ZAMORAK
-
SARADOMIN_STRIKE
public static final MagicAction SARADOMIN_STRIKE
-
BONES_TO_PEACHES
public static final MagicAction BONES_TO_PEACHES
-
CHARGE_EARTH_ORB
public static final MagicAction CHARGE_EARTH_ORB
-
SENNTISTEN_TELEPORT
public static final MagicAction SENNTISTEN_TELEPORT
-
TROLLHEIM_TELEPORT
public static final MagicAction TROLLHEIM_TELEPORT
-
WEST_ARDOUGNE_TELEPORT
public static final MagicAction WEST_ARDOUGNE_TELEPORT
-
SMOKE_BURST
public static final MagicAction SMOKE_BURST
-
SUPERIOR_DEMONBANE
public static final MagicAction SUPERIOR_DEMONBANE
-
WIND_WAVE
public static final MagicAction WIND_WAVE
-
CHARGE_FIRE_ORB
public static final MagicAction CHARGE_FIRE_ORB
-
SHADOW_BURST
public static final MagicAction SHADOW_BURST
-
TELEPORT_APE_ATOLL
public static final MagicAction TELEPORT_APE_ATOLL
-
LESSER_CORRUPTION
public static final MagicAction LESSER_CORRUPTION
-
WATER_WAVE
public static final MagicAction WATER_WAVE
-
BAKE_PIE
public static final MagicAction BAKE_PIE
-
GEOMANCY
public static final MagicAction GEOMANCY
-
HARMONY_ISLAND_TELEPORT
public static final MagicAction HARMONY_ISLAND_TELEPORT
-
CURE_PLANT
public static final MagicAction CURE_PLANT
-
MONSTER_EXAMINE
public static final MagicAction MONSTER_EXAMINE
-
CHARGE_AIR_ORB
public static final MagicAction CHARGE_AIR_ORB
-
KHARYRLL_TELEPORT
public static final MagicAction KHARYRLL_TELEPORT
-
VILE_VIGOUR
public static final MagicAction VILE_VIGOUR
-
VULNERABILITY
public static final MagicAction VULNERABILITY
-
NPC_CONTACT
public static final MagicAction NPC_CONTACT
-
BLOOD_BURST
public static final MagicAction BLOOD_BURST
-
CURE_OTHER
public static final MagicAction CURE_OTHER
-
HUMIDIFY
public static final MagicAction HUMIDIFY
-
ENCHANT_DRAGONSTONE_BOLT
public static final MagicAction ENCHANT_DRAGONSTONE_BOLT
-
ENCHANT_DRAGONSTONE_JEWELLERY
public static final MagicAction ENCHANT_DRAGONSTONE_JEWELLERY
-
MOONCLAN_TELEPORT
public static final MagicAction MOONCLAN_TELEPORT
-
EARTH_WAVE
public static final MagicAction EARTH_WAVE
-
ICE_BURST
public static final MagicAction ICE_BURST
-
TELE_GROUP_MOONCLAN
public static final MagicAction TELE_GROUP_MOONCLAN
-
DEGRIME
public static final MagicAction DEGRIME
-
CURE_ME
public static final MagicAction CURE_ME
-
OURANIA_TELEPORT
public static final MagicAction OURANIA_TELEPORT
-
HUNTER_KIT
public static final MagicAction HUNTER_KIT
-
CEMETERY_TELEPORT
public static final MagicAction CEMETERY_TELEPORT
-
WATERBIRTH_TELEPORT
public static final MagicAction WATERBIRTH_TELEPORT
-
LASSAR_TELEPORT
public static final MagicAction LASSAR_TELEPORT
-
EXPERT_REANIMATION
public static final MagicAction EXPERT_REANIMATION
-
TELE_GROUP_WATERBIRTH
public static final MagicAction TELE_GROUP_WATERBIRTH
-
ENFEEBLE
public static final MagicAction ENFEEBLE
-
WARD_OF_ARCEUUS
public static final MagicAction WARD_OF_ARCEUUS
-
SMOKE_BLITZ
public static final MagicAction SMOKE_BLITZ
-
CURE_GROUP
public static final MagicAction CURE_GROUP
-
TELEOTHER_LUMBRIDGE
public static final MagicAction TELEOTHER_LUMBRIDGE
-
FIRE_WAVE
public static final MagicAction FIRE_WAVE
-
BARBARIAN_TELEPORT
public static final MagicAction BARBARIAN_TELEPORT
-
STAT_SPY
public static final MagicAction STAT_SPY
-
SHADOW_BLITZ
public static final MagicAction SHADOW_BLITZ
-
SPIN_FLAX
public static final MagicAction SPIN_FLAX
-
TELE_GROUP_BARBARIAN
public static final MagicAction TELE_GROUP_BARBARIAN
-
RESURRECT_GREATER_THRALL
public static final MagicAction RESURRECT_GREATER_THRALL
-
SUPERGLASS_MAKE
public static final MagicAction SUPERGLASS_MAKE
-
KHAZARD_TELEPORT
public static final MagicAction KHAZARD_TELEPORT
-
TAN_LEATHER
public static final MagicAction TAN_LEATHER
-
DAREEYAK_TELEPORT
public static final MagicAction DAREEYAK_TELEPORT
-
RESURRECT_CROPS
public static final MagicAction RESURRECT_CROPS
-
UNDEAD_GRASP
public static final MagicAction UNDEAD_GRASP
-
TELE_GROUP_KHAZARD
public static final MagicAction TELE_GROUP_KHAZARD
-
DREAM
public static final MagicAction DREAM
-
ENTANGLE
public static final MagicAction ENTANGLE
-
BLOOD_BLITZ
public static final MagicAction BLOOD_BLITZ
-
STRING_JEWELLERY
public static final MagicAction STRING_JEWELLERY
-
DEATH_CHARGE
public static final MagicAction DEATH_CHARGE
-
STUN
public static final MagicAction STUN
-
CHARGE
public static final MagicAction CHARGE
-
WIND_SURGE
public static final MagicAction WIND_SURGE
-
STAT_RESTORE_POT_SHARE
public static final MagicAction STAT_RESTORE_POT_SHARE
-
DARK_DEMONBANE
public static final MagicAction DARK_DEMONBANE
-
ICE_BLITZ
public static final MagicAction ICE_BLITZ
-
MAGIC_IMBUE
public static final MagicAction MAGIC_IMBUE
-
TELEOTHER_FALADOR
public static final MagicAction TELEOTHER_FALADOR
-
FERTILE_SOIL
public static final MagicAction FERTILE_SOIL
-
BARROWS_TELEPORT
public static final MagicAction BARROWS_TELEPORT
-
CARRALLANGER_TELEPORT
public static final MagicAction CARRALLANGER_TELEPORT
-
BOOST_POTION_SHARE
public static final MagicAction BOOST_POTION_SHARE
-
DEMONIC_OFFERING
public static final MagicAction DEMONIC_OFFERING
-
TELEPORT_TO_TARGET
public static final MagicAction TELEPORT_TO_TARGET
-
WATER_SURGE
public static final MagicAction WATER_SURGE
-
TELE_BLOCK
public static final MagicAction TELE_BLOCK
-
FISHING_GUILD_TELEPORT
public static final MagicAction FISHING_GUILD_TELEPORT
-
GREATER_CORRUPTION
public static final MagicAction GREATER_CORRUPTION
-
SMOKE_BARRAGE
public static final MagicAction SMOKE_BARRAGE
-
PLANK_MAKE
public static final MagicAction PLANK_MAKE
-
TELE_GROUP_FISHING_GUILD
public static final MagicAction TELE_GROUP_FISHING_GUILD
-
CATHERBY_TELEPORT
public static final MagicAction CATHERBY_TELEPORT
-
ENCHANT_ONYX_BOLT
public static final MagicAction ENCHANT_ONYX_BOLT
-
ENCHANT_ONYX_JEWELLERY
public static final MagicAction ENCHANT_ONYX_JEWELLERY
-
SHADOW_BARRAGE
public static final MagicAction SHADOW_BARRAGE
-
TELE_GROUP_CATHERBY
public static final MagicAction TELE_GROUP_CATHERBY
-
ICE_PLATEAU_TELEPORT
public static final MagicAction ICE_PLATEAU_TELEPORT
-
RECHARGE_DRAGONSTONE
public static final MagicAction RECHARGE_DRAGONSTONE
-
EARTH_SURGE
public static final MagicAction EARTH_SURGE
-
TELE_GROUP_ICE_PLATEAU
public static final MagicAction TELE_GROUP_ICE_PLATEAU
-
ANNAKARL_TELEPORT
public static final MagicAction ANNAKARL_TELEPORT
-
APE_ATOLL_TELEPORT
public static final MagicAction APE_ATOLL_TELEPORT
-
TELEOTHER_CAMELOT
public static final MagicAction TELEOTHER_CAMELOT
-
MASTER_REANIMATION
public static final MagicAction MASTER_REANIMATION
-
ENERGY_TRANSFER
public static final MagicAction ENERGY_TRANSFER
-
BLOOD_BARRAGE
public static final MagicAction BLOOD_BARRAGE
-
HEAL_OTHER
public static final MagicAction HEAL_OTHER
-
SINISTER_OFFERING
public static final MagicAction SINISTER_OFFERING
-
VENGEANCE_OTHER
public static final MagicAction VENGEANCE_OTHER
-
ENCHANT_ZENYTE_JEWELLERY
public static final MagicAction ENCHANT_ZENYTE_JEWELLERY
-
ICE_BARRAGE
public static final MagicAction ICE_BARRAGE
-
VENGEANCE
public static final MagicAction VENGEANCE
-
FIRE_SURGE
public static final MagicAction FIRE_SURGE
-
HEAL_GROUP
public static final MagicAction HEAL_GROUP
-
GHORROCK_TELEPORT
public static final MagicAction GHORROCK_TELEPORT
-
SPELLBOOK_SWAP
public static final MagicAction SPELLBOOK_SWAP
-
-
Method Detail
-
values
public static MagicAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MagicAction c : MagicAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MagicAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
public String getName(ItemManager itemManager)
Description copied from interface:SkillAction
Gets the name of this skill action, usually the item or object created, or the spell cast. This name may be fetched viaItemComposition.getMembersName()
from some defined item ID or explicitly defined.- Specified by:
getName
in interfaceSkillAction
- Parameters:
itemManager
- Anitem manager
instance.- Returns:
- The name of this skill action.
-
isMembers
public boolean isMembers(ItemManager itemManager)
- Specified by:
isMembers
in interfaceSkillAction
-
getName
public String getName()
-
getLevel
public int getLevel()
Description copied from interface:SkillAction
Gets the level required to perform this skill action.- Specified by:
getLevel
in interfaceSkillAction
- Returns:
- The level required to perform this skill action.
-
getXp
public float getXp()
Description copied from interface:SkillAction
Gets the amount of xp granted for performing this skill action.- Specified by:
getXp
in interfaceSkillAction
- Returns:
- The amount of xp granted for performing this skill action.
-
getSprite
public int getSprite()
Description copied from interface:SkillAction
Gets the sprite ID for this skill action, if applicable.Note: Either this method or
SkillAction.getIcon()
will always return-1
, and the other will return some value0
or greater.- Specified by:
getSprite
in interfaceSkillAction
- Returns:
- The sprite ID of this skill action, or
-1
if its icon should be represented using an item icon. - See Also:
SpriteID
,SkillAction.getIcon()
-
isMembers
public boolean isMembers()
-
-