Navigation menu

WoW:API SpellStopCasting: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Stops the current spellcasting.)
 
No edit summary
Line 1: Line 1:
Stops the current spellcasting. Doesn't work for channeled spells.<br>
Stops the current spellcasting. Doesn't work for channeled spells.<br>
Returns nil if it didn't do anything (no spell was being cast at the moment), 1 if it did stop a casting.
Returns nil if it didn't do anything (no spell was being cast at the moment), 1 if it did stop a casting.
Can disable autorepeated "spells", like hunter's Auto shot.