Quantcast WoWInterface - View Single Post - LUA inside macro?
View Single Post
06-25-19, 05:31 PM   #7
doofus
A Flamescale Wyrmkin
Join Date: Feb 2018
Posts: 126
OK, this is the macro that might be needed. Unfortunately we are severely limited by the macro buffer size as well as I do not know how to cast spells however I used print statements to show what the macro should do.

/script lST,lDR,lEN=GetSpellCooldown("Prowl");lCD=lST and (lST+lDR-GetTime()) or 9;lFRM=GetShapeshiftForm();lID=IsIndoors();if (lFRM==0) then if (lID) then if (lCD<=0) then print("PR"); else print("CT");end;else print("TR");end;else print("NR");end;
  Reply With Quote