WoW:API SpellStopCasting: Difference between revisions

m
Move page script moved page API SpellStopCasting to WoW:API SpellStopCasting without leaving a redirect
m (Move page script moved page API SpellStopCasting to WoW:API SpellStopCasting without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
{{protectedapi|2.0.1|For alternatives, try [[API_SecureTemplates|Secure Templates]] or the new [[Conditional slash commands#/stopcasting|/stopcasting]].}}


Stops the current spellcasting. Doesn't work for channeled spells.
Stops the current spellcasting. Doesn't work for channeled spells.


  StopSpellCasting()
  SpellStopCasting()


== Parameters ==
== Parameters ==
Line 11: Line 12:


=== Returns ===
=== Returns ===
:;nil : It didn't do anything (no spell was being cast at the moment).
:;nil
:;1 : If it did stop a casting.
:: It didn't do anything (no spell was being cast at the moment).
:;1
:: If it did stop a casting.


== Examples ==
== Examples ==
Anonymous user