Jump to content
Sign in to follow this  
ldrancer

Macro Intercept or Charge w/ check rage points

Recommended Posts

Pretty much, I'm trying to add these 2 together.

This is from a macro I read about to auto switch from Berzerker stance to Battle to use a charge or intercept depending on if you were in battle or not.  It was 2 macros each, that you put in the same slot on your action bar in each stance if you wanted one.  I don't have problems with using intercept and dumping rage if I'm in battle, but I do have a problem if I;m out of combat, and just accumulated like 90 rage and then push the key to Charge/or Intercept and just got out of combat and it dumps 65 rage leaving you from 90 with 25 then charges to give you back to 40.  thats 50 rage and a Bloodthirst attack dumped.  well minus the intercept, so a loss of a free bloodthirst attack and -10 rage from intercept, plus the .. ah ok i guess you get the idea.

I dont charge/intercept into a battle knowing im going to have to intercept another mob, without doing so knowing.  So, When i press the key, i dump my rage, to charge/intercept.

this is the macro for berzerker stance im using.

/run if UnitAffectingCombat("player") then CastSpellByName("Intercept"); else CastSpellByName("Battle Stance"); end;

I'm trying to get it to both check if im in combat, if not then check if my rage is over 50, if it is then cast intercept and end. if not then cast battle stance

From using the macro i read here ;;https://forum.elysium-project.org/topic/57800-solved-warrior-getragepoints-macro/

/script if UnitMana("Player")>=10 then CastSpellByName("Demoralizing Shout"); else CastSpellByName("Bloodrage"); end;

thats the macro for checking the rage with.

if anyone can figure it out, thanks.

Edited by ldrancer

Share this post


Link to post
Share on other sites
Quote

/run if UnitAffectingCombat("player")and UnitMana("Player")>=50 then CastSpellByName("Intercept"); else CastSpellByName("Battle Stance"); end;

 

Share this post


Link to post
Share on other sites

well, i swapped around the > for < for less than or = 50 mana because it was casting Battle Stance when i was smashing the macro in berzerker stance.  then it started doing intercepts.  but then i noticed over 50 mana, it changes me to battle stance now.

i think im asking for a kind of "feature" but im wondering if its in the game by this arguement trying to make of 2 situations.  it just wants to check one then run, if one becomes default state then the other becomes the decider.  so its like it isnt paying attention to the in battle argumeent any more.  but checking against my mana to decide to whether cast battle stance or intercept.

Edited by ldrancer

Share this post


Link to post
Share on other sites

ok just rechecked, and its not paying attention to in battle while checking mana if i am in battle.  out of battle,i have no problem swapping to battle stance from berzerker.

 

Edited by ldrancer

Share this post


Link to post
Share on other sites
Quote

/run if UnitMana("Player")<=50 then  CastSpellByName("Intercept")end
/run if  not UnitAffectingCombat("player")then CastSpellByName("Battle Stance")else CastSpellByName("Berserker Stance")end
/cast Charge

 

 

Quote

/run if UnitMana("Player")<=50 then  CastSpellByName("Intercept")end
/run if  not UnitAffectingCombat("player")then CastSpellByName("Battle Stance")end

 

 

Edited by meridaw

Share this post


Link to post
Share on other sites

no this is why im asking.  i dont need someone to spell out to me what needs to be done i know how to argue it i just dont know how or if i can write it in their langauge they provided

 

your first of 2 quotes, .. contains 3 spells.  you cant even do that, when theres an arguement involved

your 2nd macro is seperating what im trying to check.  which i put already.  its like totally different than my question.

 

i guess i dont know i guess ill just go find a book and read it.  instead of having people copying me.  this is what forums are for is to get people to help.  if u think im too stupid to get it i dotn know whyu you came to a forum for.

Share this post


Link to post
Share on other sites

Try to be more clearer here by restating my question

1 button on one action bar on one stance im trying to write or make a macro for.

 

I want to push a button, exactly where I just said to put it at, that checks combat status.  no matter what if in combat, cast intercept.

if not in combat, and if my rage is 50 or more, then cast intercept

if not in combat, and the previuos arguement returns false that rage is 50 or more and its not, then cast battle stance.

 

i dont nkow if i shoujld just read macro code book or instructions until i understand it myself or what.  Just asking for help on a forum

Edited by ldrancer

Share this post


Link to post
Share on other sites

If this one does not work then i don`t think i can help, sorry.

Quote

/run if  not UnitAffectingCombat("player")then CastSpellByName("Battle Stance")else if UnitAffectingCombat("player")and UnitMana("Player")>=50 then  CastSpellByName("Intercept")end end

 

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
Sign in to follow this  

×