Jump to content
Sign in to follow this  
MindScape

"Self" Parameter for commands (I.e., '.unaura 12345 self')

Recommended Posts

Add in a 'self' parameter to a number of commands that are able to be used by Officers / Owners of a phase on other players, such as unaura, demorph, ect. The reason for this is that there are times when a macro or addon functions by using those commands, and 'breaks' when it performs the commands on another instead of yourself, which occurs if you're an officer or owner of the phase you're currently in. 

Note: This issue only applies when targeting someone, but fixing it addon-side is extremely difficult as "ClearTarget()" and all other targeting commands are protected functions, so they only work from officially signed blizzard UI. A simple "self" parameter shouldn't be too hard and would solve any issues from the get-go.

(An example of this is my ShiftSprint addon and it's 'ShiftSpells' feature, which casts a set of spells on you when you begin sprinting, and removes them with .unaura afterwords. If you're an Owner/Officer, and have another selected, the unaura will affect your target instead of you, leaving you stuck in your current auras until you figure it out and manually deselect the target, or remove the auras by hand on your current effects bar).

Edited by MindScape

MEwmZ8k.png

j0R3peR.gif

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×