m
no edit summary
mNo edit summary |
|||
| Line 21: | Line 21: | ||
:; isMine : Boolean - 1 or nil if the aura was casted by the player. | :; isMine : Boolean - 1 or nil if the aura was casted by the player. | ||
:; isStealable : Boolean - 1 or nil if the aura was casted by the player. | :; isStealable : Boolean - 1 or nil if the aura was casted by the player. | ||
==Macro Options:== | |||
1. Prints the name of any stealable buffs on the current target, or a notice if nothing is stealable: | |||
<pre>/run local y=0;for i=1,40 do local n,_,_,_,_,_,_,_,isStealable=UnitAura("target",i);if isStealable==1 then print(n.." on target, steal it!")y=1;end end if y~=1 then print("No stealable buffs.")end</pre> | |||