Channeling Macro

Channeling Macro

by dachshund » Wed Jul 22, 2015 3:00 pm

Hi there,

i'm trying to write a channeling macro for my WL , it should prevent me from casting e.g. Drain Life again before the cast is over. Here is the macro :

/cast [nochanneling:Drain Life] Drain Life

But it doesn't work. Any clues on this one? Thanks for your help. BB
dachshund
Tester
 

Re: Channeling Macro

by Meck » Wed Jul 22, 2015 7:58 pm

Well... I made this really quickly and it should do what you want, but I'll be the first to admit it probably isn't the most elegant... Anyways, you will have to change Rank 6 to whatever your highest rank of the spell is.

/script i,cast = 1;debuff = UnitDebuff("target", i);while debuff do if string.find(debuff,"Spell_Shadow_LifeDrain02") ~= nil then cast = 0;end;i = i + 1;debuff = UnitDebuff("target", i);end;if cast == 0 then else CastSpellByName("Drain Life(Rank 6)");end;
Meck
Tester
 

Re: Channeling Macro

by Siusek » Sat Aug 08, 2015 6:20 am

I cannot find anything similar for Mind Flay, could anyone help please?
Sheep EX Machina!
User avatar
Siusek
Grunt
Grunt
 


Return to Addons & macros