View Full Forums : Having Troubles With a Macro

03-16-2006, 05:09 PM
SO i am trying to use a macro that Mauls or Claws and substitutes Faerie Fire in whenever my target does not have that condition.

However, it's not working. Anyone here able to decifer the issue?

Claw Macro
/script i=1; while (UnitDebuff("target", i)) do if (string.find(UnitDebuff("target", i), "Faerie")) then CastSpellByName("Claw"); end; i=i+1; end; CastSpellByName("Faerie Fire(Feral)");

Maul Macro
/script i=1; while (UnitDebuff("target", i)) do if (string.find(UnitDebuff("target", i), "Faerie")) then CastSpellByName("Maul"); end; i=i+1; end; CastSpellByName("Faerie Fire(Feral)");

Thanks for any help.

Edited for clarity.

03-16-2006, 07:27 PM
You've got multiple abilities trying to go off in one macro... which won't work, I don't think. I'd do something like this (I haven't tested the code, so you might have to tweak it):

while (UnitDebuff("target", i)) do
if (string.find(UnitDebuff("target", i), "Faerie")) then
if (firefound) then
CastSpellByName("Faerie Fire(Feral)")

03-17-2006, 01:36 AM
There are 2 different macro's there. One for Claw and one for Maul.

WoWiki shows macros with similar structure that i'll list here since i don't have access to it at work. I'll play around during "break". lol

/script class = UnitClass("target"); if ( ( class == "Rogue" ) or ( class == "Warrior" ) ) then
CastSpellByName("Blessing of Might"); else CastSpellByName("Blessing of Wisdom"); end


/script i=0;m=0;while(UnitBuff("target",i)~=nil) do if(STRING.find(UnitBuff("target",i),"Regeneration")~=nil) then m=1; end;i=i+1;end; if(m==1) then CastSpellByName("Mark of the Wild(Rank 10)");else CastSpellByName("Thorns(Rank 10)");end;

03-17-2006, 07:49 AM
Ah, I must have misread those -- noticed there were two, but didn't really pay attention. Sorry about that.

Don't have time to look at them again now, but I can tonight if no one else has by then.

03-17-2006, 01:58 PM
I found a great mod with a gui that lets you customize how you want the skills to fire. It's called FeralSkill. I can't get to Curse-Gaming at work to link it but you can find it there.

It generates three macros for you...

With these the buttons you have tigers fury, FF, cower, shred, claw, rip, rake, all that stuff working. I love it.

03-17-2006, 05:07 PM
Is it that difficult to press three different buttons? Just curious. Why not have a macro to heal Target "x" when hp=y with HT9 when hp=>z heal with HT10? Kinda defeats the purpose of the game. Do i think all macros are bad? No. But this one sounds like laziness.

oh, and feign death icetrap is the cheapest macro on the planet.

03-17-2006, 06:12 PM
I already have that macro for when the heals are not critical.

Yes. I AM a little lazy. I am also an engineer so love efficiency. Macro's are very efficient when compared to mashing all the buttons, esecially after grinding for 5 hours.

Sometimes, i just wanna be able to turn around and watch some tv while i push a single button to kill that creature that is 2 levels less than i am. It makes the grind easier.

When i group, i pay attention to the game and play it with all my faculties attached. I do that well and use all my abilities to do so.

Thank you for the concern though.

04-15-2006, 02:58 PM
Fow anyone wndering, I did get it to work.

/script i=1 firefound=nil while(UnitDebuff("target", i))do if(string.find(UnitDebuff("target", i), "Faerie"))then firefound=1 break end i=i+1 end; if(firefound)then CastSpellByName("Maul")else CastSpellByName("Faerie Fire (Feral)(Rank 1)");end;