Page 1 of 1

Auto Shot + Hunter's Mark + Pet Attack macro

PostPosted: Sun Nov 25, 2018 1:53 am
by slverbaur
Code: Select all
/run if not IsAutoRepeatAction(25) then CastSpellByName("Auto Shot");end
/run local i,x,T=1,0,"target" while UnitDebuff(T,i) do if string.find(UnitDebuff(T,i), "Sniper") then x=1 end i=i+1 end if x==0 then UseAction(36) else end
/run PetAttack();




YOU NEED TO PUT HUNTER'S MARK AND AUTOSHOT IN THE RIGHT PLACE ON YOUR ACTION BUTTON OR CHANGE THE NUMBERS 25 and 36 TO WHERE YOU HAVE THOSE ABILITIES IN YOUR ACTION BAR.

In the code above:


25 is for AUTO SHOT ---- Change 25 to the number of where your Auto Shot is.


36 is for HUNTER'S MARK. ---- Change 36 to the number of where your Hunter's Mark is.


Look in the following picture to see which numbers to pick OR where to put abilities:




https://i.imgur.com/plXbRdd.jpg