Page 1 of 1

Channeling Macro

PostPosted: Wed Jul 22, 2015 3:00 pm
by dachshund
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

Re: Channeling Macro

PostPosted: Wed Jul 22, 2015 7:58 pm
by Meck
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;

Re: Channeling Macro

PostPosted: Sat Aug 08, 2015 6:20 am
by Siusek
I cannot find anything similar for Mind Flay, could anyone help please?