WoW:API SpellStopTargeting: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API SpellStopTargeting to API SpellStopTargeting without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center>'''SpellStopTargeting''' ''-Documentation by [[user:Sparr|Sparr]], plagiarized from [[user:Caedric|Caedric]]-''</center>
{{wowapi}}
{{protectedapi|2.0.1|For alternatives, try [[API_SecureTemplates|Secure Templates]].}}
 


Cancels the spell awaiting target selection.   
Cancels the spell awaiting target selection.   
Line 7: Line 9:
  SpellStopTargeting()
  SpellStopTargeting()


----
==Arguments==
;''Arguments''
 
:''none''
:''none''
----
;''Returns''
:Boolean istargeting
:;istargeting : true if a spell has been cast and is waiting for a target; false otherwise
----
;''Example''
?
----
{{Template:WoW API}}

Latest revision as of 04:47, 15 August 2023

WoW API < SpellStopTargeting


Cancels the spell awaiting target selection.

Also cancels some types of weapon buffs when they ask for confirmation. For example, if you attempt to apply a poison to a weapon that already has a poison, the game will ask you to confirm the replacement. You can accept the replacement with ReplaceEnchant() or cancel the replacement with SpellStopTargeting().

SpellStopTargeting()

Arguments[edit]

none