C_Garrison. GetFollowerAutoCombatSpells
functionguessedavailable in: camelot
Returns a follower's adventure combat abilities and its auto attack. · description by wowlua
function C_Garrison.GetFollowerAutoCombatSpells( garrFollowerID: GarrisonFollower, followerLevel: number): (AutoCombatSpellInfo[]?, AutoCombatSpellInfo?)Parameters
| name | type | description |
|---|---|---|
garrFollowerID | GarrisonFollower | |
followerLevel | number | The follower level to get the abilities for. |
Returns
| # | name | type |
|---|---|---|
| 1 | autoCombatSpells | AutoCombatSpellInfo[]? |
| 2 | autoCombatAutoAttack | AutoCombatSpellInfo? |
| field | type |
|---|---|
autoCombatSpellID | number |
name | string |
description | string |
cooldown | number |
duration | number |
schoolMask | number |
previewMask | number |
icon | number |
spellTutorialFlag | number |
hasThornsEffect | boolean |
| field | type |
|---|---|
autoCombatSpellID | number |
name | string |
description | string |
cooldown | number |
duration | number |
schoolMask | number |
previewMask | number |
icon | number |
spellTutorialFlag | number |
hasThornsEffect | boolean |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (GarrisonInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.