Jump to content
DawnZtar

SOLVED: Warrior getragepoints macro

Recommended Posts

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?

Edited by DawnZtar

Share this post


Link to post
Share on other sites

Do you happen to know what skill proc variables are called?

Im trying to make a macro to cast Overpower if it procs, Execute if it procs or else cast Heroic strike 

isActive, isCastable or not on cooldown dont  seem to work unless i got the syntax wrong.

 

Any help would be appreciated.

 

 

Edited by Gwynbleys

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×