DawnZtar 0 Report post Posted November 19, 2017 (edited) 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 November 19, 2017 by DawnZtar 0 Share this post Link to post Share on other sites
DawnZtar 0 Report post Posted November 19, 2017 Figured! /script if UnitMana("Player")>=10 then CastSpellByName("Demoralizing Shout"); else CastSpellByName("Bloodrage"); end; 0 Share this post Link to post Share on other sites
Gwynbleys 0 Report post Posted January 15, 2018 (edited) 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 January 15, 2018 by Gwynbleys 0 Share this post Link to post Share on other sites