Prayer

Methods
8
Fields
56

Getting one

Prayer.valueOf(…)
Prayer.THICK_SKIN
Prayer.BURST_OF_STRENGTH

Methods

MethodReturnsDescription
name()stringThe constant's name as declared.
ordinal()numberThe constant's 0-based position in values().
toString()stringname(); tostring(c) answers the same.
compareTo(Prayer)numberThis ordinal less other's.
equals(any)booleanWhether other is this constant. == answers the same.
getVarbit()numberThis constant's getVarbit() value, listed on each constant.
values(){Prayer}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOf(string)PrayervalueOf(name): the constant named name; any other name is an error.

Fields

FieldTypeDescription
THICK_SKINPrayerTHICK_SKIN: ordinal 0; getVarbit() 4104.
BURST_OF_STRENGTHPrayerBURST_OF_STRENGTH: ordinal 1; getVarbit() 4105.
CLARITY_OF_THOUGHTPrayerCLARITY_OF_THOUGHT: ordinal 2; getVarbit() 4106.
SHARP_EYEPrayerSHARP_EYE: ordinal 3; getVarbit() 4122.
MYSTIC_WILLPrayerMYSTIC_WILL: ordinal 4; getVarbit() 4123.
ROCK_SKINPrayerROCK_SKIN: ordinal 5; getVarbit() 4107.
SUPERHUMAN_STRENGTHPrayerSUPERHUMAN_STRENGTH: ordinal 6; getVarbit() 4108.
IMPROVED_REFLEXESPrayerIMPROVED_REFLEXES: ordinal 7; getVarbit() 4109.
RAPID_RESTOREPrayerRAPID_RESTORE: ordinal 8; getVarbit() 4110.
RAPID_HEALPrayerRAPID_HEAL: ordinal 9; getVarbit() 4111.
PROTECT_ITEMPrayerPROTECT_ITEM: ordinal 10; getVarbit() 4112.
HAWK_EYEPrayerHAWK_EYE: ordinal 11; getVarbit() 4124.
MYSTIC_LOREPrayerMYSTIC_LORE: ordinal 12; getVarbit() 4125.
STEEL_SKINPrayerSTEEL_SKIN: ordinal 13; getVarbit() 4113.
ULTIMATE_STRENGTHPrayerULTIMATE_STRENGTH: ordinal 14; getVarbit() 4114.
INCREDIBLE_REFLEXESPrayerINCREDIBLE_REFLEXES: ordinal 15; getVarbit() 4115.
PROTECT_FROM_MAGICPrayerPROTECT_FROM_MAGIC: ordinal 16; getVarbit() 4116.
PROTECT_FROM_MISSILESPrayerPROTECT_FROM_MISSILES: ordinal 17; getVarbit() 4117.
PROTECT_FROM_MELEEPrayerPROTECT_FROM_MELEE: ordinal 18; getVarbit() 4118.
EAGLE_EYEPrayerEAGLE_EYE: ordinal 19; getVarbit() 4126.
MYSTIC_MIGHTPrayerMYSTIC_MIGHT: ordinal 20; getVarbit() 4127.
RETRIBUTIONPrayerRETRIBUTION: ordinal 21; getVarbit() 4119.
REDEMPTIONPrayerREDEMPTION: ordinal 22; getVarbit() 4120.
SMITEPrayerSMITE: ordinal 23; getVarbit() 4121.
CHIVALRYPrayerCHIVALRY: ordinal 24; getVarbit() 4128.
DEADEYEPrayerDEADEYE: ordinal 25; getVarbit() 16090.
MYSTIC_VIGOURPrayerMYSTIC_VIGOUR: ordinal 26; getVarbit() 16091.
PIETYPrayerPIETY: ordinal 27; getVarbit() 4129.
PRESERVEPrayerPRESERVE: ordinal 28; getVarbit() 5466.
RIGOURPrayerRIGOUR: ordinal 29; getVarbit() 5464.
AUGURYPrayerAUGURY: ordinal 30; getVarbit() 5465.
ZEALPrayerZEAL: ordinal 31; getVarbit() 16577.
RP_REJUVENATIONPrayerRP_REJUVENATION: ordinal 32; getVarbit() 14840.
RP_ANCIENT_STRENGTHPrayerRP_ANCIENT_STRENGTH: ordinal 33; getVarbit() 14829.
RP_ANCIENT_SIGHTPrayerRP_ANCIENT_SIGHT: ordinal 34; getVarbit() 14830.
RP_ANCIENT_WILLPrayerRP_ANCIENT_WILL: ordinal 35; getVarbit() 14831.
RP_PROTECT_ITEMPrayerRP_PROTECT_ITEM: ordinal 36; getVarbit() 14966.
RP_RUINOUS_GRACEPrayerRP_RUINOUS_GRACE: ordinal 37; getVarbit() 14841.
RP_DAMPEN_MAGICPrayerRP_DAMPEN_MAGIC: ordinal 38; getVarbit() 14964.
RP_DAMPEN_RANGEDPrayerRP_DAMPEN_RANGED: ordinal 39; getVarbit() 14963.
RP_DAMPEN_MELEEPrayerRP_DAMPEN_MELEE: ordinal 40; getVarbit() 14962.
RP_TRINITASPrayerRP_TRINITAS: ordinal 41; getVarbit() 14832.
RP_BERSERKERPrayerRP_BERSERKER: ordinal 42; getVarbit() 14844.
RP_PURGEPrayerRP_PURGE: ordinal 43; getVarbit() 14839.
RP_METABOLISEPrayerRP_METABOLISE: ordinal 44; getVarbit() 14843.
RP_REBUKEPrayerRP_REBUKE: ordinal 45; getVarbit() 14850.
RP_VINDICATIONPrayerRP_VINDICATION: ordinal 46; getVarbit() 14851.
RP_DECIMATEPrayerRP_DECIMATE: ordinal 47; getVarbit() 14833.
RP_ANNIHILATEPrayerRP_ANNIHILATE: ordinal 48; getVarbit() 14834.
RP_VAPORISEPrayerRP_VAPORISE: ordinal 49; getVarbit() 14835.
RP_FUMUS_VOWPrayerRP_FUMUS_VOW: ordinal 50; getVarbit() 14845.
RP_UMBRA_VOWPrayerRP_UMBRA_VOW: ordinal 51; getVarbit() 14847.
RP_CRUORS_VOWPrayerRP_CRUORS_VOW: ordinal 52; getVarbit() 14846.
RP_GLACIES_VOWPrayerRP_GLACIES_VOW: ordinal 53; getVarbit() 14848.
RP_WRATHPrayerRP_WRATH: ordinal 54; getVarbit() 14842.
RP_INTENSIFYPrayerRP_INTENSIFY: ordinal 55; getVarbit() 14965.

Returned by

MethodReturnsDescription
PrayerClass.valueOfPrayervalueOf(name): the constant named name; any other name is an error.
PrayerClass.values{Prayer}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

Method details

name

name: (Prayer) -> string

The constant's name as declared.

ordinal

ordinal: (Prayer) -> number

The constant's 0-based position in values().

toString

toString: (Prayer) -> string

name(); tostring(c) answers the same.

equals

equals: (Prayer, any) -> boolean

Whether other is this constant. == answers the same.

getVarbit

getVarbit: (Prayer) -> number

This constant's getVarbit() value, listed on each constant.

values

values: () -> {Prayer}

Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

valueOf

valueOf: (string) -> Prayer

valueOf(name): the constant named name; any other name is an error.