Spells

Methods
5
Fields
197

Methods

MethodReturnsDescription
getName(string)stringThe spell's display name ("High Level Alchemy"), where the constant is its constant name (HIGH_LEVEL_ALCHEMY). Also takes a display name,…
getWidgetId(string)numberThe packed id of the spell's button in the spellbook (InterfaceID.MagicSpellbook).
getSpellbook(string)numberThe spellbook as the SPELLBOOK varbit counts it, 0 standard, 1 ancient, 2 lunar, 3 Arceuus.
fromName(string)string?The constant whose display name is name (lower-cased, a smart apostrophe read as ', a no-break space as a space, trimmed; inner spaces…
values(){string}A new array of every constant, in the catalog's order.

Fields

FieldTypeDescription
WIND_STRIKEstringSpells.WIND_STRIKE ("Wind Strike"): the constant's name, which every spell intent takes.
WATER_STRIKEstringSpells.WATER_STRIKE ("Water Strike"): the constant's name, which every spell intent takes.
EARTH_STRIKEstringSpells.EARTH_STRIKE ("Earth Strike"): the constant's name, which every spell intent takes.
FIRE_STRIKEstringSpells.FIRE_STRIKE ("Fire Strike"): the constant's name, which every spell intent takes.
WIND_BOLTstringSpells.WIND_BOLT ("Wind Bolt"): the constant's name, which every spell intent takes.
WATER_BOLTstringSpells.WATER_BOLT ("Water Bolt"): the constant's name, which every spell intent takes.
EARTH_BOLTstringSpells.EARTH_BOLT ("Earth Bolt"): the constant's name, which every spell intent takes.
FIRE_BOLTstringSpells.FIRE_BOLT ("Fire Bolt"): the constant's name, which every spell intent takes.
WIND_BLASTstringSpells.WIND_BLAST ("Wind Blast"): the constant's name, which every spell intent takes.
WATER_BLASTstringSpells.WATER_BLAST ("Water Blast"): the constant's name, which every spell intent takes.
EARTH_BLASTstringSpells.EARTH_BLAST ("Earth Blast"): the constant's name, which every spell intent takes.
FIRE_BLASTstringSpells.FIRE_BLAST ("Fire Blast"): the constant's name, which every spell intent takes.
WIND_WAVEstringSpells.WIND_WAVE ("Wind Wave"): the constant's name, which every spell intent takes.
WATER_WAVEstringSpells.WATER_WAVE ("Water Wave"): the constant's name, which every spell intent takes.
EARTH_WAVEstringSpells.EARTH_WAVE ("Earth Wave"): the constant's name, which every spell intent takes.
FIRE_WAVEstringSpells.FIRE_WAVE ("Fire Wave"): the constant's name, which every spell intent takes.
WIND_SURGEstringSpells.WIND_SURGE ("Wind Surge"): the constant's name, which every spell intent takes.
WATER_SURGEstringSpells.WATER_SURGE ("Water Surge"): the constant's name, which every spell intent takes.
EARTH_SURGEstringSpells.EARTH_SURGE ("Earth Surge"): the constant's name, which every spell intent takes.
FIRE_SURGEstringSpells.FIRE_SURGE ("Fire Surge"): the constant's name, which every spell intent takes.
CRUMBLE_UNDEADstringSpells.CRUMBLE_UNDEAD ("Crumble Undead"): the constant's name, which every spell intent takes.
IBAN_BLASTstringSpells.IBAN_BLAST ("Iban Blast"): the constant's name, which every spell intent takes.
MAGIC_DARTstringSpells.MAGIC_DART ("Magic Dart"): the constant's name, which every spell intent takes.
SARADOMIN_STRIKEstringSpells.SARADOMIN_STRIKE ("Saradomin Strike"): the constant's name, which every spell intent takes.
FLAMES_OF_ZAMORAKstringSpells.FLAMES_OF_ZAMORAK ("Flames of Zamorak"): the constant's name, which every spell intent takes.
CLAWS_OF_GUTHIXstringSpells.CLAWS_OF_GUTHIX ("Claws of Guthix"): the constant's name, which every spell intent takes.
CONFUSEstringSpells.CONFUSE ("Confuse"): the constant's name, which every spell intent takes.
WEAKENstringSpells.WEAKEN ("Weaken"): the constant's name, which every spell intent takes.
CURSEstringSpells.CURSE ("Curse"): the constant's name, which every spell intent takes.
VULNERABILITYstringSpells.VULNERABILITY ("Vulnerability"): the constant's name, which every spell intent takes.
ENFEEBLEstringSpells.ENFEEBLE ("Enfeeble"): the constant's name, which every spell intent takes.
STUNstringSpells.STUN ("Stun"): the constant's name, which every spell intent takes.
BINDstringSpells.BIND ("Bind"): the constant's name, which every spell intent takes.
SNAREstringSpells.SNARE ("Snare"): the constant's name, which every spell intent takes.
ENTANGLEstringSpells.ENTANGLE ("Entangle"): the constant's name, which every spell intent takes.
TELE_BLOCKstringSpells.TELE_BLOCK ("Tele Block"): the constant's name, which every spell intent takes.
LUMBRIDGE_HOME_TELEPORTstringSpells.LUMBRIDGE_HOME_TELEPORT ("Lumbridge Home Teleport"): the constant's name, which every spell intent takes.
VARROCK_TELEPORTstringSpells.VARROCK_TELEPORT ("Varrock Teleport"): the constant's name, which every spell intent takes.
VARROCK_TELEPORT_GRAND_EXCHANGEstringSpells.VARROCK_TELEPORT_GRAND_EXCHANGE ("Grand Exchange Varrock Teleport"): the constant's name, which every spell intent takes.
LUMBRIDGE_TELEPORTstringSpells.LUMBRIDGE_TELEPORT ("Lumbridge Teleport"): the constant's name, which every spell intent takes.
FALADOR_TELEPORTstringSpells.FALADOR_TELEPORT ("Falador Teleport"): the constant's name, which every spell intent takes.
TELEPORT_TO_HOUSEstringSpells.TELEPORT_TO_HOUSE ("Teleport to House"): the constant's name, which every spell intent takes.
TELEPORT_TO_HOUSE_OUTSIDEstringSpells.TELEPORT_TO_HOUSE_OUTSIDE ("Outside Teleport to House"): the constant's name, which every spell intent takes.
TELEPORT_TO_HOUSE_GROUP_PREVIOUSstringSpells.TELEPORT_TO_HOUSE_GROUP_PREVIOUS ("Group: Previous Teleport to House"): the constant's name, which every spell intent takes.
CAMELOT_TELEPORTstringSpells.CAMELOT_TELEPORT ("Camelot Teleport"): the constant's name, which every spell intent takes.
CAMELOT_TELEPORT_SEERSstringSpells.CAMELOT_TELEPORT_SEERS ("Seer's Camelot Teleport"): the constant's name, which every spell intent takes.
ARDOUGNE_TELEPORTstringSpells.ARDOUGNE_TELEPORT ("Ardougne Teleport"): the constant's name, which every spell intent takes.
CIVITAS_ILLA_FORTIS_TELEPORTstringSpells.CIVITAS_ILLA_FORTIS_TELEPORT ("Civitas illa Fortis Teleport"): the constant's name, which every spell intent takes.
WATCHTOWER_TELEPORTstringSpells.WATCHTOWER_TELEPORT ("Watchtower Teleport"): the constant's name, which every spell intent takes.
WATCHTOWER_TELEPORT_YANILLEstringSpells.WATCHTOWER_TELEPORT_YANILLE ("Yanille Watchtower Teleport"): the constant's name, which every spell intent takes.
TROLLHEIM_TELEPORTstringSpells.TROLLHEIM_TELEPORT ("Trollheim Teleport"): the constant's name, which every spell intent takes.
APE_ATOLL_TELEPORT_NORMALstringSpells.APE_ATOLL_TELEPORT_NORMAL ("Ape Atoll Teleport"): the constant's name, which every spell intent takes.
KOUREND_CASTLE_TELEPORTstringSpells.KOUREND_CASTLE_TELEPORT ("Kourend Castle Teleport"): the constant's name, which every spell intent takes.
TELEOTHER_LUMBRIDGEstringSpells.TELEOTHER_LUMBRIDGE ("Teleother Lumbridge"): the constant's name, which every spell intent takes.
TELEOTHER_FALADORstringSpells.TELEOTHER_FALADOR ("Teleother Falador"): the constant's name, which every spell intent takes.
TELEPORT_TO_TARGETstringSpells.TELEPORT_TO_TARGET ("Teleport to Target"): the constant's name, which every spell intent takes.
TELEOTHER_CAMELOTstringSpells.TELEOTHER_CAMELOT ("Teleother Camelot"): the constant's name, which every spell intent takes.
TELEPORT_BOAT_TO_MEstringSpells.TELEPORT_BOAT_TO_ME ("Teleport boat to me"): the constant's name, which every spell intent takes.
TELEPORT_ME_TO_BOATstringSpells.TELEPORT_ME_TO_BOAT ("Teleport me to boat"): the constant's name, which every spell intent takes.
BONES_TO_BANANASstringSpells.BONES_TO_BANANAS ("Bones to Bananas"): the constant's name, which every spell intent takes.
BONES_TO_PEACHESstringSpells.BONES_TO_PEACHES ("Bones to Peaches"): the constant's name, which every spell intent takes.
LOW_LEVEL_ALCHEMYstringSpells.LOW_LEVEL_ALCHEMY ("Low Level Alchemy"): the constant's name, which every spell intent takes.
HIGH_LEVEL_ALCHEMYstringSpells.HIGH_LEVEL_ALCHEMY ("High Level Alchemy"): the constant's name, which every spell intent takes.
SUPERHEAT_ITEMstringSpells.SUPERHEAT_ITEM ("Superheat Item"): the constant's name, which every spell intent takes.
LVL_1_ENCHANTstringSpells.LVL_1_ENCHANT ("Lvl-1 Enchant"): the constant's name, which every spell intent takes.
LVL_2_ENCHANTstringSpells.LVL_2_ENCHANT ("Lvl-2 Enchant"): the constant's name, which every spell intent takes.
LVL_3_ENCHANTstringSpells.LVL_3_ENCHANT ("Lvl-3 Enchant"): the constant's name, which every spell intent takes.
LVL_4_ENCHANTstringSpells.LVL_4_ENCHANT ("Lvl-4 Enchant"): the constant's name, which every spell intent takes.
LVL_5_ENCHANTstringSpells.LVL_5_ENCHANT ("Lvl-5 Enchant"): the constant's name, which every spell intent takes.
LVL_6_ENCHANTstringSpells.LVL_6_ENCHANT ("Lvl-6 Enchant"): the constant's name, which every spell intent takes.
LVL_7_ENCHANTstringSpells.LVL_7_ENCHANT ("Lvl-7 Enchant"): the constant's name, which every spell intent takes.
ENCHANT_CROSSBOW_BOLTstringSpells.ENCHANT_CROSSBOW_BOLT ("Enchant Crossbow Bolt"): the constant's name, which every spell intent takes.
CHARGEstringSpells.CHARGE ("Charge"): the constant's name, which every spell intent takes.
TELEKINETIC_GRABstringSpells.TELEKINETIC_GRAB ("Telekinetic Grab"): the constant's name, which every spell intent takes.
CHARGE_WATER_ORBstringSpells.CHARGE_WATER_ORB ("Charge Water Orb"): the constant's name, which every spell intent takes.
CHARGE_EARTH_ORBstringSpells.CHARGE_EARTH_ORB ("Charge Earth Orb"): the constant's name, which every spell intent takes.
CHARGE_FIRE_ORBstringSpells.CHARGE_FIRE_ORB ("Charge Fire Orb"): the constant's name, which every spell intent takes.
CHARGE_AIR_ORBstringSpells.CHARGE_AIR_ORB ("Charge Air Orb"): the constant's name, which every spell intent takes.
MONSTER_INSPECTstringSpells.MONSTER_INSPECT ("Monster Inspect"): the constant's name, which every spell intent takes.
SMOKE_RUSHstringSpells.SMOKE_RUSH ("Smoke Rush"): the constant's name, which every spell intent takes.
SHADOW_RUSHstringSpells.SHADOW_RUSH ("Shadow Rush"): the constant's name, which every spell intent takes.
BLOOD_RUSHstringSpells.BLOOD_RUSH ("Blood Rush"): the constant's name, which every spell intent takes.
ICE_RUSHstringSpells.ICE_RUSH ("Ice Rush"): the constant's name, which every spell intent takes.
SMOKE_BURSTstringSpells.SMOKE_BURST ("Smoke Burst"): the constant's name, which every spell intent takes.
SHADOW_BURSTstringSpells.SHADOW_BURST ("Shadow Burst"): the constant's name, which every spell intent takes.
BLOOD_BURSTstringSpells.BLOOD_BURST ("Blood Burst"): the constant's name, which every spell intent takes.
ICE_BURSTstringSpells.ICE_BURST ("Ice Burst"): the constant's name, which every spell intent takes.
SMOKE_BLITZstringSpells.SMOKE_BLITZ ("Smoke Blitz"): the constant's name, which every spell intent takes.
SHADOW_BLITZstringSpells.SHADOW_BLITZ ("Shadow Blitz"): the constant's name, which every spell intent takes.
BLOOD_BLITZstringSpells.BLOOD_BLITZ ("Blood Blitz"): the constant's name, which every spell intent takes.
ICE_BLITZstringSpells.ICE_BLITZ ("Ice Blitz"): the constant's name, which every spell intent takes.
SMOKE_BARRAGEstringSpells.SMOKE_BARRAGE ("Smoke Barrage"): the constant's name, which every spell intent takes.
SHADOW_BARRAGEstringSpells.SHADOW_BARRAGE ("Shadow Barrage"): the constant's name, which every spell intent takes.
BLOOD_BARRAGEstringSpells.BLOOD_BARRAGE ("Blood Barrage"): the constant's name, which every spell intent takes.
ICE_BARRAGEstringSpells.ICE_BARRAGE ("Ice Barrage"): the constant's name, which every spell intent takes.
EDGEVILLE_HOME_TELEPORTstringSpells.EDGEVILLE_HOME_TELEPORT ("Edgeville Home Teleport"): the constant's name, which every spell intent takes.
PADDEWWA_TELEPORTstringSpells.PADDEWWA_TELEPORT ("Paddewwa Teleport"): the constant's name, which every spell intent takes.
SENNTISTEN_TELEPORTstringSpells.SENNTISTEN_TELEPORT ("Senntisten Teleport"): the constant's name, which every spell intent takes.
KHARYRLL_TELEPORTstringSpells.KHARYRLL_TELEPORT ("Kharyrll Teleport"): the constant's name, which every spell intent takes.
LASSAR_TELEPORTstringSpells.LASSAR_TELEPORT ("Lassar Teleport"): the constant's name, which every spell intent takes.
DAREEYAK_TELEPORTstringSpells.DAREEYAK_TELEPORT ("Dareeyak Teleport"): the constant's name, which every spell intent takes.
CARRALLANGER_TELEPORTstringSpells.CARRALLANGER_TELEPORT ("Carrallanger Teleport"): the constant's name, which every spell intent takes.
ANNAKARL_TELEPORTstringSpells.ANNAKARL_TELEPORT ("Annakarl Teleport"): the constant's name, which every spell intent takes.
GHORROCK_TELEPORTstringSpells.GHORROCK_TELEPORT ("Ghorrock Teleport"): the constant's name, which every spell intent takes.
MONSTER_EXAMINEstringSpells.MONSTER_EXAMINE ("Monster Examine"): the constant's name, which every spell intent takes.
CURE_OTHERstringSpells.CURE_OTHER ("Cure Other"): the constant's name, which every spell intent takes.
CURE_MEstringSpells.CURE_ME ("Cure Me"): the constant's name, which every spell intent takes.
CURE_GROUPstringSpells.CURE_GROUP ("Cure Group"): the constant's name, which every spell intent takes.
STAT_SPYstringSpells.STAT_SPY ("Stat Spy"): the constant's name, which every spell intent takes.
DREAMstringSpells.DREAM ("Dream"): the constant's name, which every spell intent takes.
STAT_RESTORE_POT_SHAREstringSpells.STAT_RESTORE_POT_SHARE ("Stat Restore Pot Share"): the constant's name, which every spell intent takes.
BOOST_POTION_SHAREstringSpells.BOOST_POTION_SHARE ("Boost Potion Share"): the constant's name, which every spell intent takes.
ENERGY_TRANSFERstringSpells.ENERGY_TRANSFER ("Energy Transfer"): the constant's name, which every spell intent takes.
HEAL_OTHERstringSpells.HEAL_OTHER ("Heal Other"): the constant's name, which every spell intent takes.
VENGEANCE_OTHERstringSpells.VENGEANCE_OTHER ("Vengeance Other"): the constant's name, which every spell intent takes.
VENGEANCEstringSpells.VENGEANCE ("Vengeance"): the constant's name, which every spell intent takes.
HEAL_GROUPstringSpells.HEAL_GROUP ("Heal Group"): the constant's name, which every spell intent takes.
LUNAR_HOME_TELEPORTstringSpells.LUNAR_HOME_TELEPORT ("Lunar Home Teleport"): the constant's name, which every spell intent takes.
MOONCLAN_TELEPORTstringSpells.MOONCLAN_TELEPORT ("Moonclan Teleport"): the constant's name, which every spell intent takes.
TELE_GROUP_MOONCLANstringSpells.TELE_GROUP_MOONCLAN ("Tele Group Moonclan"): the constant's name, which every spell intent takes.
OURANIA_TELEPORTstringSpells.OURANIA_TELEPORT ("Ourania Teleport"): the constant's name, which every spell intent takes.
WATERBIRTH_TELEPORTstringSpells.WATERBIRTH_TELEPORT ("Waterbirth Teleport"): the constant's name, which every spell intent takes.
TELE_GROUP_WATERBIRTHstringSpells.TELE_GROUP_WATERBIRTH ("Tele Group Waterbirth"): the constant's name, which every spell intent takes.
BARBARIAN_TELEPORTstringSpells.BARBARIAN_TELEPORT ("Barbarian Teleport"): the constant's name, which every spell intent takes.
TELE_GROUP_BARBARIANstringSpells.TELE_GROUP_BARBARIAN ("Tele Group Barbarian"): the constant's name, which every spell intent takes.
KHAZARD_TELEPORTstringSpells.KHAZARD_TELEPORT ("Khazard Teleport"): the constant's name, which every spell intent takes.
TELE_GROUP_KHAZARDstringSpells.TELE_GROUP_KHAZARD ("Tele Group Khazard"): the constant's name, which every spell intent takes.
FISHING_GUILD_TELEPORTstringSpells.FISHING_GUILD_TELEPORT ("Fishing Guild Teleport"): the constant's name, which every spell intent takes.
TELE_GROUP_FISHING_GUILDstringSpells.TELE_GROUP_FISHING_GUILD ("Tele Group Fishing Guild"): the constant's name, which every spell intent takes.
CATHERBY_TELEPORTstringSpells.CATHERBY_TELEPORT ("Catherby Teleport"): the constant's name, which every spell intent takes.
TELE_GROUP_CATHERBYstringSpells.TELE_GROUP_CATHERBY ("Tele Group Catherby"): the constant's name, which every spell intent takes.
ICE_PLATEAU_TELEPORTstringSpells.ICE_PLATEAU_TELEPORT ("Ice Plateau Teleport"): the constant's name, which every spell intent takes.
TELE_GROUP_ICE_PLATEAUstringSpells.TELE_GROUP_ICE_PLATEAU ("Tele Group Ice Plateau"): the constant's name, which every spell intent takes.
BAKE_PIEstringSpells.BAKE_PIE ("Bake Pie"): the constant's name, which every spell intent takes.
GEOMANCYstringSpells.GEOMANCY ("Geomancy"): the constant's name, which every spell intent takes.
CURE_PLANTstringSpells.CURE_PLANT ("Cure Plant"): the constant's name, which every spell intent takes.
NPC_CONTACTstringSpells.NPC_CONTACT ("NPC Contact"): the constant's name, which every spell intent takes.
NPC_CONTACT_PREVIOUSstringSpells.NPC_CONTACT_PREVIOUS ("Previous NPC Contact"): the constant's name, which every spell intent takes.
HUMIDIFYstringSpells.HUMIDIFY ("Humidify"): the constant's name, which every spell intent takes.
HUMIDIFY_TARGETstringSpells.HUMIDIFY_TARGET ("Humidify"): the constant's name, which every spell intent takes.
HUNTER_KITstringSpells.HUNTER_KIT ("Hunter Kit"): the constant's name, which every spell intent takes.
SPIN_FLAXstringSpells.SPIN_FLAX ("Spin Flax"): the constant's name, which every spell intent takes.
SUPERGLASS_MAKEstringSpells.SUPERGLASS_MAKE ("Superglass Make"): the constant's name, which every spell intent takes.
TAN_LEATHERstringSpells.TAN_LEATHER ("Tan Leather"): the constant's name, which every spell intent takes.
STRING_JEWELLERYstringSpells.STRING_JEWELLERY ("String Jewellery"): the constant's name, which every spell intent takes.
MAGIC_IMBUEstringSpells.MAGIC_IMBUE ("Magic Imbue"): the constant's name, which every spell intent takes.
FERTILE_SOILstringSpells.FERTILE_SOIL ("Fertile Soil"): the constant's name, which every spell intent takes.
PLANK_MAKEstringSpells.PLANK_MAKE ("Plank Make"): the constant's name, which every spell intent takes.
RECHARGE_DRAGONSTONEstringSpells.RECHARGE_DRAGONSTONE ("Recharge Dragonstone"): the constant's name, which every spell intent takes.
SPELLBOOK_SWAPstringSpells.SPELLBOOK_SWAP ("Spellbook Swap"): the constant's name, which every spell intent takes.
SPELLBOOK_SWAP_NORMALstringSpells.SPELLBOOK_SWAP_NORMAL ("Standard Spellbook Swap"): the constant's name, which every spell intent takes.
SPELLBOOK_SWAP_ANCIENTstringSpells.SPELLBOOK_SWAP_ANCIENT ("Ancient Spellbook Swap"): the constant's name, which every spell intent takes.
SPELLBOOK_SWAP_ARCEUUSstringSpells.SPELLBOOK_SWAP_ARCEUUS ("Arceuus Spellbook Swap"): the constant's name, which every spell intent takes.
ARCEUUS_HOME_TELEPORTstringSpells.ARCEUUS_HOME_TELEPORT ("Arceuus Home Teleport"): the constant's name, which every spell intent takes.
ARCEUUS_LIBRARY_TELEPORTstringSpells.ARCEUUS_LIBRARY_TELEPORT ("Arceuus Library Teleport"): the constant's name, which every spell intent takes.
DRAYNOR_MANOR_TELEPORTstringSpells.DRAYNOR_MANOR_TELEPORT ("Draynor Manor Teleport"): the constant's name, which every spell intent takes.
BATTLEFRONT_TELEPORTstringSpells.BATTLEFRONT_TELEPORT ("Battlefront Teleport"): the constant's name, which every spell intent takes.
MIND_ALTAR_TELEPORTstringSpells.MIND_ALTAR_TELEPORT ("Mind Altar Teleport"): the constant's name, which every spell intent takes.
RESPAWN_TELEPORTstringSpells.RESPAWN_TELEPORT ("Respawn Teleport"): the constant's name, which every spell intent takes.
SALVE_GRAVEYARD_TELEPORTstringSpells.SALVE_GRAVEYARD_TELEPORT ("Salve Graveyard Teleport"): the constant's name, which every spell intent takes.
FENKENSTRAINS_CASTLE_TELEPORTstringSpells.FENKENSTRAINS_CASTLE_TELEPORT ("Fenkenstrain's Castle Teleport"): the constant's name, which every spell intent takes.
WEST_ARDOUGNE_TELEPORTstringSpells.WEST_ARDOUGNE_TELEPORT ("West Ardougne Teleport"): the constant's name, which every spell intent takes.
HARMONY_ISLAND_TELEPORTstringSpells.HARMONY_ISLAND_TELEPORT ("Harmony Island Teleport"): the constant's name, which every spell intent takes.
CEMETERY_TELEPORTstringSpells.CEMETERY_TELEPORT ("Cemetery Teleport"): the constant's name, which every spell intent takes.
BARROWS_TELEPORTstringSpells.BARROWS_TELEPORT ("Barrows Teleport"): the constant's name, which every spell intent takes.
APE_ATOLL_TELEPORT_ARCEUUSstringSpells.APE_ATOLL_TELEPORT_ARCEUUS ("Ape Atoll Teleport"): the constant's name, which every spell intent takes.
GHOSTLY_GRASPstringSpells.GHOSTLY_GRASP ("Ghostly Grasp"): the constant's name, which every spell intent takes.
SKELETAL_GRASPstringSpells.SKELETAL_GRASP ("Skeletal Grasp"): the constant's name, which every spell intent takes.
UNDEAD_GRASPstringSpells.UNDEAD_GRASP ("Undead Grasp"): the constant's name, which every spell intent takes.
INFERIOR_DEMONBANEstringSpells.INFERIOR_DEMONBANE ("Inferior Demonbane"): the constant's name, which every spell intent takes.
SUPERIOR_DEMONBANEstringSpells.SUPERIOR_DEMONBANE ("Superior Demonbane"): the constant's name, which every spell intent takes.
DARK_DEMONBANEstringSpells.DARK_DEMONBANE ("Dark Demonbane"): the constant's name, which every spell intent takes.
LESSER_CORRUPTIONstringSpells.LESSER_CORRUPTION ("Lesser Corruption"): the constant's name, which every spell intent takes.
GREATER_CORRUPTIONstringSpells.GREATER_CORRUPTION ("Greater Corruption"): the constant's name, which every spell intent takes.
RESURRECT_LESSER_GHOSTstringSpells.RESURRECT_LESSER_GHOST ("Resurrect Lesser Ghost"): the constant's name, which every spell intent takes.
RESURRECT_LESSER_SKELETONstringSpells.RESURRECT_LESSER_SKELETON ("Resurrect Lesser Skeleton"): the constant's name, which every spell intent takes.
RESURRECT_LESSER_ZOMBIEstringSpells.RESURRECT_LESSER_ZOMBIE ("Resurrect Lesser Zombie"): the constant's name, which every spell intent takes.
RESURRECT_SUPERIOR_GHOSTstringSpells.RESURRECT_SUPERIOR_GHOST ("Resurrect Superior Ghost"): the constant's name, which every spell intent takes.
RESURRECT_SUPERIOR_SKELETONstringSpells.RESURRECT_SUPERIOR_SKELETON ("Resurrect Superior Skeleton"): the constant's name, which every spell intent takes.
RESURRECT_SUPERIOR_ZOMBIEstringSpells.RESURRECT_SUPERIOR_ZOMBIE ("Resurrect Superior Zombie"): the constant's name, which every spell intent takes.
RESURRECT_GREATER_GHOSTstringSpells.RESURRECT_GREATER_GHOST ("Resurrect Greater Ghost"): the constant's name, which every spell intent takes.
RESURRECT_GREATER_SKELETONstringSpells.RESURRECT_GREATER_SKELETON ("Resurrect Greater Skeleton"): the constant's name, which every spell intent takes.
RESURRECT_GREATER_ZOMBIEstringSpells.RESURRECT_GREATER_ZOMBIE ("Resurrect Greater Zombie"): the constant's name, which every spell intent takes.
DARK_LUREstringSpells.DARK_LURE ("Dark Lure"): the constant's name, which every spell intent takes.
MARK_OF_DARKNESSstringSpells.MARK_OF_DARKNESS ("Mark of Darkness"): the constant's name, which every spell intent takes.
WARD_OF_ARCEUUSstringSpells.WARD_OF_ARCEUUS ("Ward of Arceuus"): the constant's name, which every spell intent takes.
BASIC_REANIMATIONstringSpells.BASIC_REANIMATION ("Basic Reanimation"): the constant's name, which every spell intent takes.
ADEPT_REANIMATIONstringSpells.ADEPT_REANIMATION ("Adept Reanimation"): the constant's name, which every spell intent takes.
EXPERT_REANIMATIONstringSpells.EXPERT_REANIMATION ("Expert Reanimation"): the constant's name, which every spell intent takes.
MASTER_REANIMATIONstringSpells.MASTER_REANIMATION ("Master Reanimation"): the constant's name, which every spell intent takes.
DEMONIC_OFFERINGstringSpells.DEMONIC_OFFERING ("Demonic Offering"): the constant's name, which every spell intent takes.
SINISTER_OFFERINGstringSpells.SINISTER_OFFERING ("Sinister Offering"): the constant's name, which every spell intent takes.
SHADOW_VEILstringSpells.SHADOW_VEIL ("Shadow Veil"): the constant's name, which every spell intent takes.
VILE_VIGOURstringSpells.VILE_VIGOUR ("Vile Vigour"): the constant's name, which every spell intent takes.
DEGRIMEstringSpells.DEGRIME ("Degrime"): the constant's name, which every spell intent takes.
RESURRECT_CROPSstringSpells.RESURRECT_CROPS ("Resurrect Crops"): the constant's name, which every spell intent takes.
DEATH_CHARGEstringSpells.DEATH_CHARGE ("Death Charge"): the constant's name, which every spell intent takes.

Method details

getName

getName: (string) -> string

The spell's display name ("High Level Alchemy"), where the constant is its constant name (HIGH_LEVEL_ALCHEMY). Also takes a display name, spelled any way ("high level alchemy"), and answers the catalog's spelling.

getWidgetId

getWidgetId: (string) -> number

The packed id of the spell's button in the spellbook (InterfaceID.MagicSpellbook).

getSpellbook

getSpellbook: (string) -> number

The spellbook as the SPELLBOOK varbit counts it, 0 standard, 1 ancient, 2 lunar, 3 Arceuus.

fromName

fromName: (string) -> string?

The constant whose display name is name (lower-cased, a smart apostrophe read as ', a no-break space as a space, trimmed; inner spaces and punctuation must match), the first of two spells that share a name, or nil. Not a constant's name (Spells[name] is that); the intents' spell arguments are more lenient.

values

values: () -> {string}

A new array of every constant, in the catalog's order.