Hey guys.
On my warrior, i'd like a one-button macro, that checks if my current rage is 10 or more.
If my rage is 10 or more = cast Demoralizing Shout
If my rage is less than 10 = cast Bloodrage
So far I'm playing with a macro I found for rogues, that checks combopoints. It doesnt seem to work correctly with rage tho. Im trying this:
/script if GetComboPoints()>=10 then CastSpellByName("Demoralizing Shout"); else CastSpellByName("Bloodrage"); end;
What it does atm:
1. click I have 0 rage = It casts bloodrage.
2. click I have 10 rage = "That ability isnt ready yet" <- It tries to cast Bloodrage again, but I want it to cast Demoralizing Shout, cus my rage is 10 or more.
-
If I change the ">" in the macro to "<" it does something different:
/script if GetComboPoints()<=10 then CastSpellByName("Demoralizing Shout"); else CastSpellByName("Bloodrage"); end;
What it does:
Click when I have 0 rage = "I dont have enough rage" <- It tries to cast Demoralizing Shout.
Click when I have 10 rage or more = It casts Demoralizing Shout
-
So I can change the < in the macro to force it to cast either spell, but I cant figure, why it doesnt do both (one depending on the other).
I believe it might be because the GetComboPoints can only check for the values between 1 and 5 (Soruce: http://vanilla-wow.wikia.com/wiki/API_GetComboPoints)
-
So what I might be looking for is a GetRage, GetRagePoints kind of command to replace the "GetComboPoints" in my macro.
Any suggestions?