World of Warcraft Forever API · C_ZoneAbility.md, for your AI
C_ZoneAbility
2 functions, 1 tables, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
C_ZoneAbility.GetActiveAbilities
zoneAbilities = C_ZoneAbility.GetActiveAbilities()
Returns
zoneAbilities | ZoneAbilityInfo[] |
|---|
C_ZoneAbility.GetZoneAbilityIcon
zoneAbilityIconID = C_ZoneAbility.GetZoneAbilityIcon(zoneAbilitySpellID)
Arguments
zoneAbilitySpellID | number |
|---|
Returns
zoneAbilityIconID | number may be nil |
|---|
Tables
ZoneAbilityInfo structure
zoneAbilityID | number | |
|---|---|---|
uiPriority | number | |
spellID | number | |
textureKit | textureKit | |
tutorialText | cstring may be nil |