Skip to content

altability

Contains all the data related to alternate abilities

Members

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

Example:

If the AA "Companion's Aegis" can be trained, buy the next index/rank of it

/if (${AltAbility[Companion's Aegis].CanTrain}) {
    /alt buy ${AltAbility[Companion's Aegis].NextIndex}
}
if mq.TLO.AltAbility("Companion's Aegis").CanTrain() then
    mq.cmd.alt('buy '..mq.TLO.AltAbility("Companion's Aegis").NextIndex())
end