m
Move page script moved page API SpellStopCasting to WoW:API SpellStopCasting without leaving a redirect
m (Fixed convertion error) |
m (Move page script moved page API SpellStopCasting to WoW:API SpellStopCasting without leaving a redirect) |
||
| (4 intermediate revisions by 4 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. | ||
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 == | ||
A recent post from the WoW main boards suggests that you can link two or more spells/abilities to fire from the same macro press (and that this move is legal) as long as none of the abilities (except the last one) triggers the global cooldown. | A recent post from the WoW main boards suggests that you can link two or more spells/abilities to fire from the same macro press (and that this move is legal) as long as none of the abilities (except the last one) triggers the [[global cooldown]]. | ||
This is done with the following simple setup (two spells in one macro). | This is done with the following simple setup (two spells in one macro). | ||