Sorted by client and spec. Copy one, open /macro in game, paste it into a new macro.
Collected from public macro lists, each with its source. Not yet tested by us in game.
Client 1.12
Any spec
Battle Shout if not active
Not yet tested by us
Casts Battle Shout only when the buff is missing.
/run local i,x=1,0 while UnitBuff("player",i) do if UnitBuff("player",i)=="Interface\\Icons\\Ability_Warrior_BattleShout" then x=1 end i=i+1 end if x==0 then CastSpellByName("Battle Shout")end
Casts Battle Shout if missing, otherwise Heroic Strike.
/run local z=0 for i=1,27 do t=UnitBuff("player",i) if (t and string.find(t,"BattleShout")) then z=1 break end end if z==1 then CastSpellByName("Heroic Strike") else CastSpellByName("Battle Shout") end
Starts attack; out of combat swaps to Battle Stance and casts Charge.
/run for z=1,172 do if IsAttackAction(z)then if not IsCurrentAction(z)then UseAction(z)elseif not UnitAffectingCombat("player") then CastSpellByName("Battle Stance"); CastSpellByName("Charge")end end end UIErrorsFrame:Clear()
/script local i=0 g=GetPlayerBuff while not (g(i) == -1) do if(strfind(GetPlayerBuffTexture(g(i)),"Ability_Racial_BloodRage"))then CancelPlayerBuff(g(i)) end i=i+1 end CastSpellByName("Bloodrage")
Casts Overpower if in Battle Stance, otherwise switches to Battle Stance.
/run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Overpower"); else CastSpellByName("Battle Stance()"); end;
Casts Execute and swaps to Berserker Stance when rage is low and target is not in execute range.
/script local p=100*UnitHealth("target")/UnitHealthMax("target");if (p>5 or UnitHealth("target")>25000) and UnitMana("player")<26 then CastSpellByName("Berserker Stance"); end; CastSpellByName("Execute");if not IsCurrentAction(41) then UseAction(41) end
Casts Mocking Blow in Battle Stance, otherwise switches to Battle Stance.
/run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Mocking Blow"); else CastSpellByName("Battle Stance()"); end;
Casts Thunder Clap in Battle Stance, otherwise switches to Battle Stance.
/run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(1); if isActive then CastSpellByName("Thunder Clap"); else CastSpellByName("Battle Stance()"); end;
Casts Whirlwind in Berserker Stance, otherwise switches to Berserker Stance.
/run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(3); if isActive then CastSpellByName("Whirlwind"); else CastSpellByName("Berserker Stance()"); end;
Casts Berserker Rage in Berserker Stance, otherwise switches to it.
/run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(3); if isActive then CastSpellByName("Berserker Rage"); else CastSpellByName("Berserker Stance()"); end;
Uses stance swap + Whirlwind when rage <=25 or Bloodthirst on cooldown, else Bloodthirst.
/script local a,h,b,c=CastSpellByName,UnitMana("player"),GetActionCooldown(75); if h<=25 or (b+c-GetTime())>1.5 then a("Berserker Stance"); a("Whirlwind") else a("Bloodthirst") end; if not IsCurrentAction(41) then UseAction(41) end
Casts Taunt in Defensive Stance, otherwise switches to Defensive Stance.
/run local texture,name,isActive,isCastable = GetShapeshiftFormInfo(2); if isActive then CastSpellByName("Taunt"); else CastSpellByName("Defensive Stance()"); end;
/run t=0 for i=1,40 do local d=UnitDebuff("target",i) if d then if string.find(d,"UnyieldingFaith") or string.find(d,"Reincarnation") or string.find(d,"Taunt") then t=1 break end end end if t==0 then CastSpellByName("Taunt") end
Casts Sunder Armor only if target has fewer than 5 stacks.
/script local b,c,i; for i = 1, 16 do b = UnitDebuff("target", i); if b and strfind(b, "Ability_Warrior_Sunder") then b, c = UnitDebuff("target", i); break; end; end; if not c or c < 5 then CastSpellByName("Sunder Armor") end;
Equips named items, switches to Defensive Stance, casts Shield Wall.
/run for b=0,4 do for s=1,GetContainerNumSlots(b,s)do local n=GetContainerItemLink(b,s)if n and (strfind(n,"Quel") or strfind(n,"Draconian"))then PickupContainerItem(b,s)EquipCursorItem(16, 17)end end end
/cast Defensive Stance
/cast Shield Wall