World of Warcraft Forever API · C_AssistedCombat.md, for your AI
C_AssistedCombat
4 functions, 1 events, 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_AssistedCombat.GetActionSpell
spellID = C_AssistedCombat.GetActionSpell()
Returns
spellID | number may be nil |
|---|
C_AssistedCombat.GetNextCastSpell
spellID = C_AssistedCombat.GetNextCastSpell([checkForVisibleButton])
Arguments
checkForVisibleButton | bool default false |
|---|
Returns
spellID | number may be nil |
|---|
C_AssistedCombat.GetRotationSpells
spellIDs = C_AssistedCombat.GetRotationSpells()
Returns
spellIDs | number[] |
|---|
C_AssistedCombat.IsAvailable
isAvailable, failureReason = C_AssistedCombat.IsAvailable()
Returns
isAvailable | bool | |
|---|---|---|
failureReason | string |
Events
ASSISTED_COMBAT_ACTION_SPELL_CAST
No payload.