WoW:API SpellStopTargeting: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(2.0.1 protected note)
Line 1: Line 1:
{{wowapi}}
{{protectedapi|2.0.1|For alternatives, try [[API_SecureTemplates|Secure Templates]].}}
<center>'''SpellStopTargeting''' ''-Documentation by [[user:Sparr|Sparr]], plagiarized from [[user:Caedric|Caedric]]-''</center>
<center>'''SpellStopTargeting''' ''-Documentation by [[user:Sparr|Sparr]], plagiarized from [[user:Caedric|Caedric]]-''</center>


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}}

Revision as of 11:57, 16 December 2006

WoW API < SpellStopTargeting

SpellStopTargeting -Documentation by Sparr, plagiarized from Caedric-

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

none