View Single Post
07-05-17, 08:31 AM   #4
MunkDev
A Scalebane Royal Guard
 
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 431
Originally Posted by PsiKoTiK View Post
I guess my followup question would be, is there a priority for which spec needs to come first when using [spec]/[talent] conditionals ?
No. The order of your statements matters, but whatever is inside those statements has no effect on when each of them is evaluated.

In the example macro you posted, the boolean logic behind it would be this:
Lua Code:
  1. if [spec:1,@mouseover,harm] or [spec:1] then Blackout Kick
  2. else if [spec:3,@mouseover,harm] or [spec:3] then Blackout Kick
  3. else if [@mouseover,help] or [exists,help] then Renewing Mist
  4. else if [@mouseover,harm] or [exists,harm] then Blackout Kick
  5. else (because @player is always true) Renewing Mist
__________________

Last edited by MunkDev : 07-05-17 at 08:35 AM.
  Reply With Quote