企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[C\_Spell.DoesSpellExist](https://wow.gamepedia.com/API_C_Spell.DoesSpellExist "API C Spell.DoesSpellExist")(spellID) [C\_Spell.IsSpellDataCached](https://wow.gamepedia.com/API_C_Spell.IsSpellDataCached "API C Spell.IsSpellDataCached")(spellID) [C\_Spell.RequestLoadSpellData](https://wow.gamepedia.com/API_C_Spell.RequestLoadSpellData "API C Spell.RequestLoadSpellData")(spellID) [AcceptSpellConfirmationPrompt](https://wow.gamepedia.com/API_AcceptSpellConfirmationPrompt "API AcceptSpellConfirmationPrompt")(spellID) NOCOMBAT[CancelSpellByName](https://wow.gamepedia.com/index.php?title=API_CancelSpellByName&action=edit&redlink=1 "API CancelSpellByName (page does not exist)")(name) PROTECTED[CastSpellByID](https://wow.gamepedia.com/index.php?title=API_CastSpellByID&action=edit&redlink=1 "API CastSpellByID (page does not exist)")(spellID\[, target\]) PROTECTED[CastSpellByName](https://wow.gamepedia.com/API_CastSpellByName "API CastSpellByName")("name"\[, "target"\]) - Cast the specified spell by display name. PROTECTED[CastSpell](https://wow.gamepedia.com/API_CastSpell "API CastSpell")(spellIndex, "bookType") - Cast the spell in the specified spell book slot. [DeclineSpellConfirmationPrompt](https://wow.gamepedia.com/API_DeclineSpellConfirmationPrompt "API DeclineSpellConfirmationPrompt")(spellID) [DoesSpellExist](https://wow.gamepedia.com/API_DoesSpellExist "API DoesSpellExist")("spellName") [FindBaseSpellByID](https://wow.gamepedia.com/API_FindBaseSpellByID "API FindBaseSpellByID")(spellID) [FindSpellOverrideByID](https://wow.gamepedia.com/API_FindSpellOverrideByID "API FindSpellOverrideByID")(spellID) [GetMaxSpellStartRecoveryOffset](https://wow.gamepedia.com/index.php?title=API_GetMaxSpellStartRecoveryOffset&action=edit&redlink=1 "API GetMaxSpellStartRecoveryOffset (page does not exist)")() [GetSchoolString](https://wow.gamepedia.com/API_GetSchoolString "API GetSchoolString")(schoolMask) [GetSpellAutocast](https://wow.gamepedia.com/API_GetSpellAutocast "API GetSpellAutocast")("spellName" | spellId, bookType) - Check whether the specified spell autocasts or not. [GetSpellBaseCooldown](https://wow.gamepedia.com/API_GetSpellBaseCooldown "API GetSpellBaseCooldown")(spellID) [GetSpellCharges](https://wow.gamepedia.com/API_GetSpellCharges "API GetSpellCharges")(spellId | spellName) - Returns information about the charges of a charge-accumulating player ability. [GetSpellConfirmationPromptsInfo](https://wow.gamepedia.com/index.php?title=API_GetSpellConfirmationPromptsInfo&action=edit&redlink=1 "API GetSpellConfirmationPromptsInfo (page does not exist)")() [GetSpellCooldown](https://wow.gamepedia.com/API_GetSpellCooldown "API GetSpellCooldown")(spellName | spellID, "bookType") - Retrieves data on the cooldown of a specific spell. [GetSpellCount](https://wow.gamepedia.com/index.php?title=API_GetSpellCount&action=edit&redlink=1 "API GetSpellCount (page does not exist)")() [GetSpellDescription](https://wow.gamepedia.com/API_GetSpellDescription "API GetSpellDescription")(spellId) - Returns the spell description. [GetSpellInfo](https://wow.gamepedia.com/API_GetSpellInfo "API GetSpellInfo")(spellId | spellName | spellLink) - Returns the spell's name, rank, iconFileDataID, cast time, min and max ranges, and spellID. [GetSpellLink](https://wow.gamepedia.com/API_GetSpellLink "API GetSpellLink")(spellName, spellRank) - Returns the spell's link. [GetSpellPowerCost](https://wow.gamepedia.com/API_GetSpellPowerCost "API GetSpellPowerCost")(spellId | spellName) - Returns information about a spell's resource cost. [GetSpellQueueWindow](https://wow.gamepedia.com/index.php?title=API_GetSpellQueueWindow&action=edit&redlink=1 "API GetSpellQueueWindow (page does not exist)")() [GetSpellSubtext](https://wow.gamepedia.com/index.php?title=API_GetSpellSubtext&action=edit&redlink=1 "API GetSpellSubtext (page does not exist)")() [GetSpellTexture](https://wow.gamepedia.com/API_GetSpellTexture "API GetSpellTexture")(spellId | spellName) - Returns the fileId used for the spell's icon. [GetSpellTradeSkillLink](https://wow.gamepedia.com/index.php?title=API_GetSpellTradeSkillLink&action=edit&redlink=1 "API GetSpellTradeSkillLink (page does not exist)")() [GetZoneAbilitySpellInfo](https://wow.gamepedia.com/index.php?title=API_GetZoneAbilitySpellInfo&action=edit&redlink=1 "API GetZoneAbilitySpellInfo (page does not exist)")() [IsAttackSpell](https://wow.gamepedia.com/API_IsAttackSpell "API IsAttackSpell")(spell) - Returns 1 if the spell is the "Attack" spell. [IsAutoRepeatSpell](https://wow.gamepedia.com/index.php?title=API_IsAutoRepeatSpell&action=edit&redlink=1 "API IsAutoRepeatSpell (page does not exist)")(spell) [IsConsumableSpell](https://wow.gamepedia.com/index.php?title=API_IsConsumableSpell&action=edit&redlink=1 "API IsConsumableSpell (page does not exist)")() [IsCurrentSpell](https://wow.gamepedia.com/API_IsCurrentSpell "API IsCurrentSpell")(spellID) - Returns true if the spell is currently being casted by the player or is placed in the queue to be casted next. False otherwise. [IsHarmfulSpell](https://wow.gamepedia.com/index.php?title=API_IsHarmfulSpell&action=edit&redlink=1 "API IsHarmfulSpell (page does not exist)")(spellSlot) - Returns whether a spell can be used against hostile units [IsHelpfulSpell](https://wow.gamepedia.com/index.php?title=API_IsHelpfulSpell&action=edit&redlink=1 "API IsHelpfulSpell (page does not exist)")(spellSlot) - Returns whether an item can be used on the player or friendly units [IsPassiveSpell](https://wow.gamepedia.com/API_IsPassiveSpell "API IsPassiveSpell")(spellID, "bookType") - Returns whether the icon in your spellbook is a Passive ability. Formerly IsSpellPassive(spell). [IsPlayerSpell](https://wow.gamepedia.com/API_IsPlayerSpell "API IsPlayerSpell")(spellID) [IsSpellInRange](https://wow.gamepedia.com/API_IsSpellInRange "API IsSpellInRange")("spellName", \[unit\]) - Is nil for no valid target, 0 for out of range, 1 for in range. [IsSpellKnownOrOverridesKnown](https://wow.gamepedia.com/index.php?title=API_IsSpellKnownOrOverridesKnown&action=edit&redlink=1 "API IsSpellKnownOrOverridesKnown (page does not exist)")(spellID\[, isPet\]) [IsSpellKnown](https://wow.gamepedia.com/API_IsSpellKnown "API IsSpellKnown")(spellID, isPetSpell) - Returns whether the player (or pet) knows the given spell. [IsSpellOverlayed](https://wow.gamepedia.com/API_IsSpellOverlayed "API IsSpellOverlayed")(spellID) - Returns whether the spell is currently affected by a proc (glow highlighting). [IsUsableSpell](https://wow.gamepedia.com/API_IsUsableSpell "API IsUsableSpell")("spellName" | spellID | spellIndex, "bookType") - Determines whether a spell can be used by the player character. [SpellCanTargetItemID](https://wow.gamepedia.com/index.php?title=API_SpellCanTargetItemID&action=edit&redlink=1 "API SpellCanTargetItemID (page does not exist)")() [SpellCanTargetItem](https://wow.gamepedia.com/index.php?title=API_SpellCanTargetItem&action=edit&redlink=1 "API SpellCanTargetItem (page does not exist)")() [SpellCanTargetQuest](https://wow.gamepedia.com/index.php?title=API_SpellCanTargetQuest&action=edit&redlink=1 "API SpellCanTargetQuest (page does not exist)")() [SpellCanTargetUnit](https://wow.gamepedia.com/API_SpellCanTargetUnit "API SpellCanTargetUnit")("unit") - Returns true if the spell awaiting target selection can be cast on the specified unit. [SpellCancelQueuedSpell](https://wow.gamepedia.com/index.php?title=API_SpellCancelQueuedSpell&action=edit&redlink=1 "API SpellCancelQueuedSpell (page does not exist)")() [SpellGetVisibilityInfo](https://wow.gamepedia.com/API_SpellGetVisibilityInfo "API SpellGetVisibilityInfo")(spellID, "visType") [SpellHasRange](https://wow.gamepedia.com/index.php?title=API_SpellHasRange&action=edit&redlink=1 "API SpellHasRange (page does not exist)")(spell) - Returns true if the specified spell has a ranged effect (i.e. requires a target). [SpellIsAlwaysShown](https://wow.gamepedia.com/index.php?title=API_SpellIsAlwaysShown&action=edit&redlink=1 "API SpellIsAlwaysShown (page does not exist)")(spellID) [SpellIsSelfBuff](https://wow.gamepedia.com/index.php?title=API_SpellIsSelfBuff&action=edit&redlink=1 "API SpellIsSelfBuff (page does not exist)")(spellID) [SpellIsTargeting](https://wow.gamepedia.com/API_SpellIsTargeting "API SpellIsTargeting")() - Returns true if a spell has been cast and is awaiting target selection. PROTECTED[SpellStopCasting](https://wow.gamepedia.com/API_SpellStopCasting "API SpellStopCasting")() - Stops the current spellcast. PROTECTED[SpellStopTargeting](https://wow.gamepedia.com/API_SpellStopTargeting "API SpellStopTargeting")() - Cancels the spell awaiting target selection. PROTECTED[SpellTargetUnit](https://wow.gamepedia.com/API_SpellTargetUnit "API SpellTargetUnit")("unit") - Casts the spell awaiting target selection on the specified unit. PROTECTED[SpellTargetItem](https://wow.gamepedia.com/index.php?title=API_SpellTargetItem&action=edit&redlink=1 "API SpellTargetItem (page does not exist)")(item) UI[AuraUtil.FindAuraByName](https://wow.gamepedia.com/API_AuraUtil.FindAuraByName "API AuraUtil.FindAuraByName")(auraName, unit, filter) - Finds the first aura that matches the name. UI[QueryCastSequence](https://wow.gamepedia.com/API_QueryCastSequence "API QueryCastSequence")("sequence") - Returns index, item, spell for the spell/item that will be used next if the cast sequence is executed.