Quantcast WoWInterface - View Single Post - /stopcasting limitations
View Single Post
07-28-12, 12:39 PM   #4
A Deviate Faerie Dragon
Join Date: May 2010
Posts: 15
Since the API function behind it is protected, no addon code can change its behavior.
My thought was to create a simple addon that adds a new command that works the same way as /stopcasting but has conditional arguments ...something like "/scasting ifcasting <abilityname>" or "/scasting ifnotcasting <abilityname>"

I just assumed that the addon API would have access to the current ability being casted and then if it's there (or not there) issue the /stopcasting command itself. In my mind, it's a very simple but effective solution for my particular desire. But, I'm just getting started with addon development, so I may be making a false assumption.
  Reply With Quote