DataType:altability

From the wonderful RedGuides Wiki

Contains all the data related to alternate abilities


This Data Type is referenced in MacroQuest, and accessed by Top-Level Object(s): AltAbility
altability is used as a return type by these members:  [ Toggle ]

Page Member Description
altability RequiresAbility Required ability (if any)
character AltAbility[#|name] Returns the total number of points you have spent in ability # or name

Members

Type Member Description
altability RequiresAbility Required ability (if any)
bool CanTrain Returns true/false on if the Alternative Ability can be trained
Passive Returns true/false on if the Alternative Ability is passive
int AARankRequired Rank required to train
Cost Base cost to train
Expansion Expansion level for the ability.
Flags
GroupID ID of the AA group that this AA belongs to
ID ID
Index Returns the index number of the Alternative Ability
MaxRank Max rank available in this ability
MinLevel Minimum level to train
MyReuseTime Reuse time (in seconds) that takes into account any hastened AA abilities
NextIndex Returns the next index number of the Alternative Ability
PointsSpent Returns the amount of points spent on an AA
Rank Returns the Rank of the AA
RequiresAbilityPoints Points required in above ability
ReuseTime Reuse time in seconds
Type Type (1-6)
spell Spell Spell used by the ability (if any)
string Category The name of the category that this AA belongs to.
Description Basic description
Name Name
ShortName First line of button label (if any)
ShortName2 Second line of button label (if any)
To String Same as Name

Examples

/if (${AltAbility[Companion's Aegis].CanTrain}) {
    /alt buy ${AltAbility[Companion's Aegis].NextIndex}
}

See also