Macroes

Hilbert: This is a compilation of macros put together by US warrior Judroth. Lots of helpful stuff in here, great work.

Macro compilation:

New: targeting with ‘skull‘ etc under common macro commands, Intervene under MIsc TBC - AP shouts with Bladefist’s & rampage under Misc - Victory Rush macro under PvP / DPS / Lvling - also idea at p.10 post 192, Spell Reflect is at end post #1, with new re-equip 2h - updated fear dance under stance dances -

This is v 2 - v1 got to 300 posts and >40,000 views - it can be found here http://forums.worldofwarcraft.com/thread.html?topicId=51036255&sid=1

For the how and why of 2.0 macros, go to this sticky in the UI & Macros forum:
http://forums.worldofwarcraft.com/thread.html?topicId=51896128&sid=1
& see Cogwheel’s Macro Intro & FAQ:
http://forums.worldofwarcraft.com/thread.html?topicId=71623687&sid=1

Please post your tested warrior 2.0 macros here and tell us what they do…

This is a brief selection of what you can do - post your favorites ;)

edit: even tho reporting is broken (?!) if you’re using these pls report for sticky thru the bio-hazard symbol above right - everyday there are posts seeking warrior macros & this is either lost in back pages or will get ultimately brake from bumps.. /sigh /ty Blue for extending this one’s life tho ;)

Contents this is a general classification � you may find what you’re after, or the basic commands in different areas…

Weapon swaps
Stance dances
Charge/intercepts
PvP / DPS / Leveling
Tanking
Multi Tanking
Miscellaneous & others (TBC)
Common macro commands

Weapon Swaps

(you shift-click your weapon / shield etc. into your macro ..)
Dual wielding to 2h and back to DW :

/equipslot 16 Maladath, Runed Blade of the Black Flight
/equipslot 17 Qiraji Sacrificial Dagger
/equipslot 16 The Untamed Blade

Shield : (first line puts you into def stance)

/cast [stance:1/3]Defensive Stance
/equipslot 16 Maladath, Runed Blade of the Black Flight
/equipslot 17 Drillborer Disk

A one button version of the quick equip macro. Normal is tank, ctrl is DW, alt is resist shield. You can modify this any number of ways for 2H wep and different button combos.

/equipslot 16 Thunderfury, Blessed Blade of the Windseeker
/equipslot 17 Elementium Reinforced Bulwark
/equipslot [modifier:ctrl] 17 Sickle of Unyielding Strength
/equipslot [modifier:alt] 17 Draconian Deflector

for particlular bag spots: ‘PickupContainerItem’ is where you want to put your shield.
/script PickupInventoryItem(17); if CursorHasItem()then PickupContainerItem(4,4);EquipItemByName(”The Unstoppable Force”);else EquipItemByName(”Stormstrike Hammer”); EquipItemByName(”The Immovable Object”);end;

Stance Dances

Simple 1 ability dances, will put you in correct stance and cast ability as well as show cooldowns

# show Overpower
/cast [stance:1] Overpower; Battle Stance

# show Mocking Blow
/cast [stance:1] Mocking Blow; Battle Stance

# show Taunt
/cast [stance:2] Taunt; Defensive Stance

# show Whirlwind
/cast [stance:3] Whirlwind; Berserker Stance

Stance change “loop” macro. Access all stances from any stance with just 2 keybinds.

/cast [stance:1]Berserker Stance;[stance:3]Defensive Stance;[stance:2]Battle Stance

This one goes in the opposite direction:

/cast [stance:1]Defensive Stance;[stance:2]Berserker Stance;[Stance:3]Battle Stance

Toggles stances between def and battle stance and if control clicked, it will go to zerker stance.

/cast [modifier:ctrl,nostance:3] Berserker Stance; [stance:1] Defensive Stance; Battle Stance

Generic Stance Macro: Replace <* Stance Ability> with whatever you want.

/cast [stance:1] <Battle Stance Ability>; [stance:2] <Defense Stance Ability>; [stance:3] <Berserker Stance Ability>

Example: Will cast Overpower in Battle stance, Sunder Armor in Defensive, and Whirlwind in Berserker stance

/cast [stance:1] Overpower; [stance:2] Sunder Armor; [stance:3] Whirlwind

Fear Dance- think Mag Onyxia… will put you into zerker stance, pop zerker rage and then (back) to def stance if you have a shield on or to battle if not

# show Berserker Rage
/cast [stance:3] Berserker Rage; Berserker Stance
/cast [noequipped:shields] Battle Stance; Defensive Stance

Charge /intercept

It either charges/intercepts, or puts you into the correct stance, another click and you charge/intercept. It will also leave you in zerker while in combat…

/cast [nocombat,stance:1] Charge; [combat,nostance:3] Berserker Stance; [nocombat,nostance:1] Battle Stance; [combat,stance:3] Intercept

A seperate charge/intercept macro for each of the stance bars. Put them in the same slot on their respective bar and then just spam that button/key and it will perform the appropriate logic as it switches around from bar to bar.

Charge/Intercept - (Battle Stance Bar)
Note, if you are out of range the charge will fail, but it will still pop bloodrage and zerker stance.

/cast [stance:1, combat] Berserker Stance;
/cast [stance:1, nocombat] Charge;
/StopCasting
/cast [stance:1, nocombat] Berserker Stance;
/StopCasting
/cast [stance:1, nocombat] Bloodrage;

Charge/Intercept - (Berserker Stance Bar)

/cast [stance:3, combat] Bloodrage;
/StopCasting
/cast [stance:3, combat] Intercept;
/cast [stance:3, nocombat] Battle Stance;

Charge/Intercept - (Defensive Stance Bar)

/cast [stance:2, combat] Berserker Stance;
/cast [stance:2, nocombat] Battle Stance;

p.s. funnily enough I get contacted in game from desperate warriors, usually when in a BG or tanking some boss… /lol but anyhow I’m now on Arygos..

[ Post edited by Jedroth ]


need more rage…
http://ctprofiles.net/73182
a vid… http://tinyurl.com/kornd

PvP / DPS / Lvling

Execute: in def stance will switch to battle; in battle or zerker will execute
/cast [stance:1] Execute; [stance:2] Battle Stance; [stance:3] Execute

Will cast Overpower in Battle stance, Sunder Armor in Defensive, and Whirlwind in Berserker
/cast [stance:1] Overpower; [stance:2] Sunder Armor; [stance:3] Whirlwind

Casts overpower then HS (it still works ‘cos it is not on the GCD - it is a “on next attack” ability, and that means it can work with Overpower in this macro. same for Cleave…
/cast Overpower
/cast Heroic Strike

or equip 2hander & overpower
/cast [stance:1] Overpower; Battle Stance
/stopcasting
/equip [noequipped:Two-Handed Swords] 2 hand sword of pwnage

Always attempts to use Execute, but will use Heroic Strike if not available. Ctrl uses Cleave instead of Heroic Strike.
/cast Execute
/stopcasting
/cast [modifier:ctrl] Cleave; Heroic Strike

change to berserker stance, intercept, and hamstring
/cast [stance:3] Intercept; Berserker Stance
/stopcasting
/cast [stance:3] Hamstring

This is a great farming macro � it will dismount you (shift-click your mount to replace my Stormpike), charge, bloodthirst, queue HS and WW � anytime the target flees or otherwise gets out of range you will intercept � just watch your rage ;). Rinse repeat..
/cancelaura Stormpike Battle Charger
/cast [nocombat,stance:1] Charge; [combat,nostance:3] Berserker Stance; [nocombat,nostance:1] Battle Stance; [combat,stance:3] Intercept
/stopcasting
/castsequence reset=5 Bloodthirst, Heroic Strike, Whirlwind

for PvP, I use the same macro above and replace the last line (i.e. beginning with /castsequence..) with

/cast Hamstring

or replace last line with /cast Victory Rush as charge/intercept VR will often be used to get to new target..

Disarm (From Battle/Berserker Stance):
# show Disarm
/cast [nostance:2] Defensive Stance; Disarm
Depending on the stance you want to swap back to you could put another line like:
/cast [nostance:3] Berserker Stance

Interrupt - Shield bash or Pummel macro depending on whether or not a shield is equipped

/cast [stance:1/2,noequipped:Shields] Berserker Stance; [stance:1/2,equipped:Shields] Shield Bash; [stance:3] Pummel

Overpower/Execute
#show Execute
/castrandom [nostance:1] Battle Stance; Overpower, Execute

Mortal/Heroic Strike w Bloodrage
#show Mortal Strike
/cast Bloodrage
/cast Mortal Strike
/cast Heroic Strike

Universal shoot macro
/cast [equipped:Bows/Guns/Crossbows] Shoot; [equipped:Thrown] Throw

Tanking

I use a combination of two macros for your basic tank & spank encounters

/cast Sunder Armor
/stopcasting
/cast Heroic Strike

&

/cast Revenge
/stopcasting
/cast Shield Block

I use the HS/SA one first to get excellent threat, then the revenge/SB to give good mitigation and threat, adding in the other now and then… ;)

Taunt-MB-CS - Taunt/Def Stance switch. Ctrl is Mocking Blow/Battle Stance switch. Alt is Challenging Shout.

# show Taunt
/cast [modifier:alt] Challenging Shout;[modifier:ctrl,nostance:1] Battle Stance; [modifier:ctrl,stance:1] Mocking Blow; [stance:2] Taunt; [nostance:2] Defensive Stance

a ‘castsequence’ tanking macro
/castsequence reset=5 Shield Block, Revenge, Sunder Armor

Devastate, Shield Slam, and Heroic Strike. Keeps HS queued and uses Devastate and Shield Slam for your supplemental aggro. Ctrl uses Cleave instead of Heroic Strike.
/castrandom Devastate, Shield Slam
/stopcasting
/cast [modifier:ctrl] Cleave; Heroic Strike

Mocking Blow: swaps you to Battle stance and then casts Mocking Blow, then switches you back to Defensive Stance.
# show Mocking Blow
/cast [nostance:1] Battle Stance; Mocking Blow
/cast [nostance:2]Defensive Stance

Multi tanking

Seamlessly tab to the nearest target, sunder them and switch back to your current target � you won’t even see the switch but they’ll be sundered… ;)
/targetenemy
/cast Sunder Armor
/targetlasttarget

This macro will sunder the mob your mouse pointer is over without losing your current target (the mob must still be in melee range, of course). It also checks if the target is actually hostile and alive before doing this.
#show Sunder Armor
/cast [target=mouseover, harm, nodead] Sunder Armor

To overcome the ‘tab’ key’s propensity to target anything, this macro first reduces the distance at which tab works to 10 units, performs the equivalent of a Tab (/targetenemy), then restores the default value.
/script SetCVar(”targetNearestDistance”, 10)
/targetenemy
/script SetCVar(”targetNearestDistance”, 41)

Thunderclap - alt to use excess rage with sunder, switch to battle stance, TC, (back) to def stance
#show Thunder Clap
/cast [stance:1] Thunder Clap; [stance:2, modifier:alt] Sunder Armor
/stopcasting
/cast [stance:1] Defensive Stance; Battle Stance

misc

activating a trinket into a macro?
/use 13
/use 14
(13 = top trinket, 14 = bottom)

left click to sharpen MH, right click to do off hand
# show Dense Sharpening Stone
/use Dense Sharpening Stone
/use [button:2] 17; 16

self bandage (1st is bandages in bag 1 position 1, 2nd position does not matter)
/use [target=player] 1 1
or
/use [target=player] Heavy Runecloth Bandage

Oh crap button: intim shout, bandage and then re-target - 3 clicks, pause for bandage after second…
/cast Intimidating Shout
/use [target=player] Heavy Runecloth Bandage
/targetlasttarget
/startattack

Lifegiving Gem-Last Stand � 1 click for LGG, then another if needed for LS..
/castsequence Lifegiving Gem, Last Stand

I manage my shouts, AP and rage boosts thru a single macro - its not for everyone & not is it suitable for every encounter… it will reset manually with ‘ctrl’ or after 120 secs (the cooldown of battle shout & BB).. one use for each - it assumes you have imp zerker rage for the rage boost tho zerker rage also generates extra rage when taking damage so it great to keep it up when grinding..

/castsequence reset=ctrl/120 Battle Shout, Berserker Rage, Bladefist’s Breadth, Rampage, Berserker Rage, Uniting Charm, Rampage, Berserker Rage, Rampage

others

Spell reflectIf you do not have a shield equipped, it will equip the one you designate. If you have a shield equipped and are in Battle or Defensive Stance, use Spell Reflect. If you are in Berserker Stance, it will change to Defensive Stance so that Spell Reflect can be cast.
/cast [stance:1/2,equipped:Shields] Spell Reflection; [stance:3] Defensive Stance
/stopmacro [equipped:Shields]
/equip name of shield

if you only cast this from Battle or Def stance, it will re-equip your 2h:

/cast [stance:1/2,equipped:Shields] Spell Reflection
/equip Drillborer Disk
/equip The Untamed Blade

Intervene Macro:
/cast [nostance:2] Defensive Stance; [help] Intervene; [target=targettarget, help] Intervene
or this will mouseover:
/cast [target=mouseover,help,nodead,stance:2] Intervene; Defensive Stance
———————————————————————————————————————
you get the idea? you can shift click the various spells items to put in your macros and change those above around… the /castrandom and /castsequence combined with conditions offer a great deal of scope for new macros - tell us whats working for you ;)

additions, deletions, mistakes appreciated

Acknowledgements :
Neuro, Iriel, Slouken, Cogwheel, Jenavi, Falka, Kudagaxehand, the UI community and posters here ;) /salute

[ Post edited by Jedroth ]

Some common macro commands…

Targeting:

/targetenemy
/targetfriend
/targetparty
/targetraid
/targetlasttarget
/targetlastenemy
/assist [name] - Assist your target or the named unit if specified

Using Items:

/use
/equip
/equipslot
/userandom , , item3, �

Examples of /equip and /use:

/equip <itemname>
/equip <bagid> <bagslot>
/equipslot <slot> <itemname>
/use <itemname>
/use <slot>
/use <bagid> <bagslot>
/userandom <item1>, <item2>, <item3> will attempt to use a randomly selected one of the specified items

Pets:

/petattack
/petstay
/petpassive
/petdefensive
/petaggressive
/petautocaston
/petautocastoff

Casting:

/stopcasting
/cast [option]
/castrandom , , �
/castsequence [reset=N/target/combat/shift/alt/ctrl] , , �

Sequenced Casting

* A new command /castsequence reset=N/target/combat/shift/alt/ctrl spell1, spell2, spell3
* The reset line can specify a number of seconds after which a sequence resets, or if it should reset on target change or leaving combat.
* The sequence tracks the ‘next’ spell in the sequence until it resets, the next spell only advances on a successful cast.
* You can specify a conditional at the start of the command before the reset to filter whether the sequence is used (You cannot use per-spell conditionals)
* You can specify items as well as spells

Action Bars:

/changeactionbar
/swapactionbar

Attacking:

/startattack [unit]
/stopattack

Buffs/Auras:

/cancelaura [Stormpike Battle Charger]

Macros:

/stopmacro [option]

OPTIONS

If multiple options are provided for an action, they must all be met before the action will happen. The options supported are as follows:
* target=unit - Run the command and perform tests on the specified unit (only applicable to spell casting or item use). You can specify ‘none’ as a target unit to act as if you have no target.
* help/harm - Choose depending on whether target is assistable or attackable
* combat - Choose depending on whether you’re in combat or not
* stance or stance:# - Choose depending on your stance/shapeshift (”stance” alone matches any stance)
* stealth - Choose depending on whether you are stealthed
* mounted - Choose depending on whether you are mounted
* swimming - Choose depending on whether you are swimming
* flying - Choose depending on whether you are flying
* indoors - Choose depending on whether you are indoors
* outdoors - Choose depending on whether you are outdoors
* modifier or modifier:shift|ctrl|alt - Choose depending on any modifier keys you’re holding at the time the macro runs
* equipped:|| - Choose if you have the specific item type equipped
* actionbar: - Choose if a specific actionbar is shown
* button:Z - Choose if the specified button is held down
* pet :| - Choose if your current active pet has the specified name or family (e.g. pet:bear/wolf)
* channeling or channeling:spell - Choose if you are channeling (possibly a specific spell)
* exists - Choose if the target exists
* dead - Choose if the target is dead

For stance and modifier you can list multiple matching values separated by the / character for the option to be true if ANY of them are true. For example modifier:shift/ctrl matches if shift or control is held down.
Any option can be prefixed with ‘no’ to select if it does NOT match. For example [nocombat]

# and - are comment characters in macros
A macro that starts with “# show <item or spell>” will show feedback for that item or spell. A macro that starts with “# show none” will show no feedback. Otherwise the first /cast, /randomcast, /castsequence, /use, or /random use command will be used to show feedback for the macro.
——————–
macros within macros?

/click <button name>

You can find a button name by hovering your mouse over a button and entering this into chat:
/script message(GetMouseFocus():GetName())
—————-
an interesting use of “?” icon from Neuro’s post above:
/snip
Castsequence is special in that it overrides the “#show” parameter. This is intentional, as most people want the current spell to show up instead of what is listed on “#show”.

The reset command means that if the macro is not hit for that many seconds, the sequence resets back to the beginning. However, the problem you are running into is that you are doing thunderclap and demo shout which puts the sequence right back to the beginning automatically, meaning you don’t get the timer you want.

Here’s my suggestion: First, do ‘/macro’ and bring up the Macro editor. Change the icon of this macro to that “?” at the very beginning of all the macro icons you can choose from. This is a special icon that shows the current spell in the sequence as it’s icon.

Now, make you macro thus:
/castsequence reset=20/target Thunder Clap, Demoralizing Shout, Slam

Why Slam? Well, I just wanted a spell that most tanks don’t use. It can be any ability you never use and who’s icon is not on your action bar.

What will happen is this: On the first click, the macro will do TClap and the icon will change to the icon for Demo Shout. On the second click, the macro will cast Demo Shout and the icon will change to Slam. Now, the timer is running. When you see Slam go back to TClap, you know 20 seconds have gone by. There you go!

Note that you’d be much better off finding an addon to do something similar to this. It probably wouldn’t be hard to find one that would put a visual countdown on that button every time it was clicked.
/snip

and have FUN!

[ Post edited by Jedroth ]

SetRaidTargetIcon(”target”, 1); — Star
SetRaidTargetIcon(”target”, 2); — Circle
SetRaidTargetIcon(”target”, 3); — Diamond
SetRaidTargetIcon(”target”, 4); — Triangle
SetRaidTargetIcon(”target”, 5); — Moon
SetRaidTargetIcon(”target”, 6); — Square
SetRaidTargetIcon(”target”, 7); — Cross
SetRaidTargetIcon(”target”, 8); — Skull
SetRaidTargetIcon(”target”, 0); — Remove RaidIcon

are the units

use:

/script if (GetRaidTargetIndex(”target”)~= 8) then SetRaidTargetIcon(”target”, 8); end

Here is an updated consolidation of Jenavi’s 2.0 macros so far (see post # 74 - of v1).

If you are having probems with your macros using “modifier:ctrl/alt/shift”, check your key bindings for keys using tose secific modifiers. If you have a key binding for ctrl-1 and place a macro with modifier:ctrl on hotkey 1, the key binding will override the macro modifier.

Tanking
Since I often have to manage the strategic parts of an encounter, I prefer to make the tactical part as simple as possible.

# 1 - Taunt-MB-CS

1 is Taunt/Def Stance switch. Ctrl-1 is Mocking Blow/Battle Stance switch. Alt-1 is Challenging Shout.

# show Taunt
/cast [modifier:alt] Challenging Shout;[modifier:ctrl,nostance:1] Battle Stance; [modifier:ctrl,stance:1] Mocking Blow; [stance:2] Taunt; [nostance:2] Defensive Stance;

# 2 - Sunder Armor

Plan ole Sunder Armor.
Sunder Armor

# 3 - Dev-SS-HS

3 is Devastate, Shield Slam, and Heroic Strike. Keeps HS queued and uses Devastate and Shield Slam for your supplemental aggro. Ctrl-3 uses Cleave instead of Heroic Strike.

/castrandom Devastate, Shield Slam
/stopcasting
/cast [modifier:ctrl] Cleave; Heroic Strike

# 4 - Rev-SB

Revenges when available… attempts to use Shield Block if not.

/cast Revenge
/stopcasting
/cast Shield Block

# 5 - Interrupt

Depending on your current equipment loadout, this will Shield Bash if you have shield or switch to Berserker Stance and Pummel if you do not have a shield equipped. Ctrl-5 uses Concussion Blow instead. This can be easily modified to include Spell Reflect in TBC.

/cast [modifier:ctrl] Concussion Blow; [stance:1/2,noequipped:Shields] Berserker Stance; [stance:1/2,equipped:Shields] Shield Bash; [stance:3] Pummel

Under or above these buttons, place the unmodified abilities so you can properly monitor their availability, cooldowns, and damage if you use something like Theorycraft. They also make good backups for playing tactically when spamming will not do.

Manually get to five sunders, then you can spam 3 and 4. 1 is your taunt. Ctrl-1 will switch to battle stance and mocking blow. Hit 1 again to go back to defensive stance. Alt-1 is your aoe taunt. 5 is your universal interrupt.

General Use for 2.0

# Fear Dance

First press changes to Berserker Stance. Second press uses Berserker Rage. Third press changes to Defensive Stance. You can remove the “/cast [nostance:2]Defensive Stance” line if you want to manually revert back to our old stance.

# show Berserker Rage
/cast [nostance:3]Berserker Stance;Berserker Rage
/cast [nostance:2]Defensive Stance

# Execute-HS/Cleave

Always attempts to use Execute, but will use Heroic Strike if not available. Ctrl uses Cleave instead of Heroic Strike.

/cast Execute
/stopcasting
/cast [modifier:ctrl] Cleave; Heroic Strike

# Overpower

Tried and true Overpower macro. This one forces the hotkey to show the Overpower cooldown.

# show Overpower
/cast [stance:1] Overpower; Battle Stance

# Bash-Pummel

As described in the tanking section.. depending on your current equipment loadout, this will Shield Bash if you have shield or switch to Berserker Stance and Pummel if you do not have a shield equipped. Ctrl uses Concussion Blow instead. This can be easily modified to include Spell Reflect in TBC.

/cast [modifier:ctrl] Concussion Blow; [stance:1/2,noequipped:Shields] Berserker Stance; [stance:1/2,equipped:Shields] Shield Bash; [stance:3] Pummel

# Charge-Intercept

Has been gone over in other posts, but here for completeness. This is the new version of the old tried and true Charge-Intercept macro.

/cast [nocombat,stance:1] Charge; [combat,nostance:3] Berserker Stance; [nocombat,nostance:1] Battle Stance; [combat,stance:3] Intercept

# Lifegiving Gem-Last Stand

This will randomly use either your Lifegiving Gem or Last Stand. This is better than using /castsequence since you can use it successfully for times when you do not have your Lifegiving Gem equipped.

/castrandom Lifegiving Gem, Last Stand

# Quick Equip

A one button version of the quick equip macro. Normal is tank, ctrl is DW, alt is resist shield. You can modify this any number of ways for 2H wep and different button combos.

/equipslot 16 Thunderfury, Blessed Blade of the Windseeker
/equipslot 17 Elementium Reinforced Bulwark
/equipslot [modifier:ctrl] 17 Sickle of Unyielding Strength
/equipslot [modifier:alt] 17 Draconian Deflector

General Use for TBC

# Intervene

One press switches to Defensive Stance if you are not already there. A second press uses Intervene on your current target if it is a target you can actually help. Ctrl transparently targets your current target’s target and uses Intervene on them… without switching your target. The ctrl version is meant for blind Intervening, while the normal version is for manual control.

/cast [help, stance:2] Intervene; [modifier:ctrl, target=targettarget, help, stance:2] Intervene; [nostance:2] Defensive Stance;

# Spell Reflect

If you do not have a shield equipped, it will equip the one you designate. If you have a shield equipped and are in Battle or Defensive Stance, use Spell Reflect. If you have a shield equipped and are in Berserker Stance, it will change to Defensive Stance so that Spell Reflect can be cast.

/cast [stance:1/2,equipped:Shields] Spell Reflection; [stance:3,equipped:Shields] Defensive Stance
/equip [noequipped:Shields] Elementium Reinforced Bulwark

Edit: Spelling errors and reminder about ctrl/alt/shift modifiers and key binding conflicts.

[ Post edited by Jenavi ]

[ Post edited by Jedroth ]

Leave a Reply