Warrior macros?

Warrior macros?

by Pissix » Wed May 27, 2015 5:38 pm

Hi! I've noticed while starting to level that having macros would be neat, but the info is scattered about how macros work on Nostalrius, leading to much confusion on my poor heads part.

Macros im looking for right now as lvl 13 warrior going to leveling ..

Warrior macros
* Swapping weapon(s) to 1h + shield
* If in stance 1, cast spell X, if in stance 2, cast spell Y, if in stance 3, cast spell C
* Check what stance you are in, if in wrong stance for the skill, swap stance to right stance, then with spamming the macro cast the skill if in right stance.
* Casting bloodrage, cast Battle shout, cancel bloodrage to get ouf of combat (With 1 click or spamming the button).
* Zerk stance into the combat charge which name i cannot remember right now, intercept?

General
* 1 button spam Find herbalism / find minerals, so i could bind it to mousewheel instead of clicking 2 buttons to find the loots.
* Bandage self without targetting / losing current target.
* Maybe Cannibalize, if there is no target for it use bandage on self?

Thanks in advance!
Pissix
Tester
 

Re: Warrior macros?

by DEDRICK » Wed May 27, 2015 7:32 pm

* 1 button spam Find herbalism / find minerals, so i could bind it to mousewheel instead of clicking 2 buttons to find the loots.
* Bandage self without targetting / losing current target.

Both of these are not necessary. Find Minerals/herbs you press ionce per login or death. Bandage Self already functions this way, you probably changed an interface option that disabled this.

Swapping macros are a pain in the ass without addons, SuperMacro makes them easy

* Check what stance you are in, if in wrong stance for the skill, swap stance to right stance, then with spamming the macro cast the skill if in right stance.

"Charge"
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Charge"); else CastSpellByName("Battle Stance()"); end;

"Disarm"
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(2); if isActive then CastSpellByName("Disarm()"); else CastSpellByName("Defensive Stance()"); end;

"Intercept"
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(3); if isActive then CastSpellByName("Intercept"); else CastSpellByName("Berserker Stance()"); end;

"Overpower"
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Overpower"); else CastSpellByName("Battle Stance()"); end;

"Pummel"
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(3); if isActive then CastSpellByName("Pummel"); else CastSpellByName("Berserker Stance()"); end;

"Berserker Rage"
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(3); if isActive then CastSpellByName("Berserker Rage"); else CastSpellByName("Berserker Stance()"); end;

"Sweeping Strikes"
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Sweeping Strikes()"); else CastSpellByName("Battle Stance()"); end;

"Whirlwind"
/script texture,name,isActive,isCastable = GetShapeshiftFormInfo(3); if isActive then CastSpellByName("Whirlwind"); else CastSpellByName("Berserker Stance()"); end;
Cachecow - Tauren Warrior
DEDRICK
Sergeant
Sergeant
 

Re: Warrior macros?

by Pissix » Wed May 27, 2015 8:32 pm

DEDRICK wrote:* 1 button spam Find herbalism / find minerals, so i could bind it to mousewheel instead of clicking 2 buttons to find the loots.
Both of these are not necessary. Find Minerals/herbs you press ionce per login or death. B


But i have both :( Cant have both active at the same time as far as I know, so i need to cycle through them to spot all the herbs / nodes. Thanks for all the help ^_^
Pissix
Tester
 

Re: Warrior macros?

by DEDRICK » Wed May 27, 2015 10:02 pm

Pissix wrote:
DEDRICK wrote:* 1 button spam Find herbalism / find minerals, so i could bind it to mousewheel instead of clicking 2 buttons to find the loots.
Both of these are not necessary. Find Minerals/herbs you press ionce per login or death. B


But i have both :( Cant have both active at the same time as far as I know, so i need to cycle through them to spot all the herbs / nodes. Thanks for all the help ^_^


Ah, I understand now, yeah you can only track one thing

You could do something like...this is untested

/script if (GetTrackingTexture()=="InterfaceIconsSpell_Nature_Earthquake") then CastSpellByName("Find Herbs"); end
/script if not (GetTrackingTexture()=="InterfaceIconsSpell_Nature_Earthquake") then CastSpellByName("Find Minerals"); end

or

/script if (GetTrackingTexture()=="InterfaceIconsSpell_Nature_Earthquake") then CastSpellByName("Find Herbs"); else if not (GetTrackingTexture()=="InterfaceIconsSpell_Nature_Earthquake") then CastSpellByName("Find Minerals"); end;end
Cachecow - Tauren Warrior
DEDRICK
Sergeant
Sergeant
 

Re: Warrior macros?

by Pissix » Thu May 28, 2015 10:57 am

DEDRICK wrote:
Pissix wrote:
DEDRICK wrote:
You could do something like...this is untested


Half of it worked, some reason the first part did nothing. So i went around and doodled with it a bit, loaning some parts from other peoples scripts: Lo and behold, the working 1 button tracking! So proud of myself :mrgreen:

/
Code: Select all
run if (GetTrackingTexture()=="Interface\\Icons\\Spell_Nature_Earthquake") then CastSpellByName("Find Herbs") else CastSpellByName("Find Minerals") end;


I also used Weapon Quick Swap addON (Needed for this) to enable some coding parameters for 1 button weapon set swapping, that cycles trough 2h -> 1h+shield -> 2h with each press

Code: Select all
/script WeaponSwap("2handernamehere", "", "1handerhere", "shieldhere");
Pissix
Tester
 

Re: Warrior macros?

by DEDRICK » Thu May 28, 2015 2:51 pm

/run if (GetTrackingTexture()=="Interface\\Icons\\Spell_Nature_Earthquake") then CastSpellByName("Find Herbs") else CastSpellByName("Find Minerals") end;


Nice! Yeah I forgot the double \\ and that is much cleaner.
Cachecow - Tauren Warrior
DEDRICK
Sergeant
Sergeant
 


Return to Warrior