Mage macros

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

Arcane Intellect by target level

Not yet tested by us

Casts the highest Arcane Intellect rank allowed for the friendly target level; hides error text.

/run local a,b,c,d,e,u="Arcane Intellect",{1,4,18,32,47},"target","(Rank ",CastSpellByName,UnitLevel if u(c)~=nil and UnitIsFriend("player",c)then for i=5,1,-1 do if(u(c)>=b)then e(a..d..i..")")return end end else e(a,1) end
/run UIErrorsFrame:Hide()

250/255Source: github.com

Mouseover Polymorph

Not yet tested by us

Polymorphs the mouseover unit, then returns to previous target.

/run c=CastSpellByName s="Polymorph(Rank 4)" if UnitExists("mouseover") then TargetUnit("mouseover") c(s) TargetLastTarget() else c(s) end

138/255Source: github.com

Immediate Counterspell

Not yet tested by us

Stops the current cast and casts Counterspell.

/script SpellStopCasting()
/cast Counterspell

45/255Source: github.com

One-button buffs

Not yet tested by us

Modifier keys pick Ice Armor, Dampen Magic, Mage Armor or Arcane Intellect.

/run CastSpellByName(IsShiftKeyDown() and "Ice Armor" or IsControlKeyDown() and "Dampen Magic" or IsAltKeyDown() and "Mage Armor" or "Arcane Intellect")

152/255Source: github.com

Conjure Water by target level

Not yet tested by us

Conjures the highest Water rank suitable for the friendly target level.

/run r=7;l={1,5,15,25,35,45,55};if not UnitIsFriend("player","target")then TargetUnit("player");end;t=UnitLevel("target");for i=r,1,-1 do if (t>=l[ i]) then CastSpellByName("Conjure Water(Rank "..i..")");break;end;end

217/255Source: github.com

Shoot with wand

Not yet tested by us

Casts Shoot when not casting and hides error text.

/run if not CastingBarFrame.casting then CastSpellByName("Shoot")end UIErrorsFrame:Hide()

89/255Source: github.com

Teleport solo, portal in group

Not yet tested by us

Casts Teleport: Ironforge when solo, Portal: Ironforge in a group.

/run if GetNumPartyMembers()==0 and GetNumRaidMembers()==0 then CastSpellByName("Teleport: Ironforge") else CastSpellByName("Portal: Ironforge") end

148/255Source: github.com

Arcane

Spammable Arcane Missiles

Not yet tested by us

Casts Arcane Missiles only when not already channeling, so repeated presses do not restart the channel.

/script if not CastingBarFrame.channeling then CastSpellByName("Arcane Missiles") end

85/255Source: github.com

Arcane Power spammable

Not yet tested by us

Casts Arcane Power only if the buff is not already active.

/run local i=0 c=0 for i=1,40 do if strfind(tostring(GetPlayerBuffTexture(GetPlayerBuff(i))),"Spell_Nature_Lightning") then c=1 end end if c==0 then CastSpellByName("Arcane Power") end

184/255Source: github.com

Presence of Mind spammable

Not yet tested by us

Casts Presence of Mind if not active, otherwise Frostbolt rank 10.

/run local i=0 t=0 c=CastSpellByName for i=1,40 do if strfind(tostring(GetPlayerBuffTexture(GetPlayerBuff(i))),"Spell_Nature_EnchantArmor") then t=1 end end if t==0 then c("Presence of Mind") else c("Frostbolt(Rank 10)") end

224/255Source: github.com

Arcane Missiles rank 1 unless Clearcasting

Not yet tested by us

Casts Arcane Missiles rank 1 unless Clearcasting is active, then max rank.

/run local i = 1 while UnitBuff("player", i) do if UnitBuff("player", i) == "Interface\\Icons\\Spell_Shadow_ManaBurn" then return CastSpellByName"Arcane Missiles" end i = i + 1 end CastSpellByName"Arcane Missiles(Rank 1)"

221/255Source: github.com

Arcane Explosion rank 1 out of combat

Not yet tested by us

Casts Arcane Explosion rank 1 out of combat, max rank in combat.

/run if not UnitAffectingCombat("player") then CastSpellByName("Arcane Explosion(Rank 1)") else CastSpellByName("Arcane Explosion") end

135/255Source: github.com

Fire

Netherwind Fireball/Pyroblast

Not yet tested by us

Casts Pyroblast while the Netherwind Focus buff is up, otherwise Fireball.

/script local f for i=1,24 do f=f or strfind(UnitBuff("player",i) or "","Shadow_Teleport") end if not f then CastSpellByName("Fireball") else CastSpellByName("Pyroblast") end

174/255Source: github.com

Scorch, Arcane Missiles on Clearcasting

Not yet tested by us

Casts Scorch, or Arcane Missiles when Clearcasting is active.

/script local q; local t;for i=0,15,1 do t=GetPlayerBuffTexture(i); if (t and string.find(t, "ManaBurn")) then q=1; break; end; end; if(q ~= nil) then CastSpellByName("Arcane Missiles(Rank 7)") else CastSpellByName("Scorch(Rank 7)"); end;

238/255Source: github.com

Trinket then Fireball

Not yet tested by us

Uses the first trinket if ready and target is healthy or a player, then casts Fireball rank 12.

/script local a=GetInventorySlotInfo("Trinket1Slot");local b,c=GetInventoryItemCooldown("player",a);if c <= 0 and (UnitHealth("target") > 30 or UnitIsPlayer("target")) then UseInventoryItem(a);SpellStopCasting();end CastSpellByName("Fireball(Rank 12)");

253/255Source: github.com

One-button Fireball/Scorch

Not yet tested by us

Shift casts Fireball, otherwise Scorch; then Shoot.

/run CastSpellByName(IsShiftKeyDown() and "Fireball" or "Scorch")
/cast Shoot

77/255Source: github.com

Fire Blast named mob tag

Not yet tested by us

Targets a mob by exact name and casts Fire Blast for tagging.

/run TargetByName("REPLACE THIS TO NPC NAME", true) CastSpellByName("Fire Blast")

81/255Source: github.com

Presence of Mind, trinket, Arcane Power, Pyroblast

Not yet tested by us

Chains Presence of Mind, trinket, Arcane Power and Pyroblast on one button.

/cast Presence of Mind
/script SpellStopCasting();
/script UseInventoryItem(13);
/script SpellStopCasting();
/cast Arcane Power
/script SpellStopCasting();
/cast Pyroblast

171/255Source: github.com

Frost

Frostbolt with Shift downrank

Not yet tested by us

Shift casts Frostbolt rank 1, otherwise max rank; retargets last enemy if target lost.

/run if not UnitExists("target")then TargetLastEnemy()end CastSpellByName(IsShiftKeyDown() and "Frostbolt(rank 1)" or "Frostbolt")

130/255Source: github.com

Frostbolt kiting with Presence of Mind

Not yet tested by us

Casts Frostbolt rank 1 normally, max rank when Presence of Mind is active.

/script i=1;m=0;while(UnitBuff("player",i)~=nil) do if(strfind(UnitBuff("player",i),"Spell_Nature_EnchantArmor")~=nil) then m=1; end;i=i+1;end; c=CastSpellByName; if(m==1) then c("Frostbolt");else c("Frostbolt(Rank 1)");end;

224/255Source: github.com

Ice Barrier else Mana Shield

Not yet tested by us

Casts Ice Barrier if not active, otherwise Mana Shield.

/run local i,x=1,0 while UnitBuff("player",i) do if UnitBuff("player",i)=="Interface\\Icons\\Spell_Ice_Lament" then x=1 end i=i+1 end if x==0 then CastSpellByName("Ice Barrier")else CastSpellByName("Mana Shield")end

215/255Source: github.com

Stopcast then Ice Block

Not yet tested by us

Interrupts the current cast and casts Ice Block unless already active.

/run SpellStopCasting() local i,x=1,0 while UnitBuff("player",i) do if UnitBuff("player",i)=="Interface\\Icons\\Spell_Frost_Frost" then x=1 end i=i+1 end if x==0 then CastSpellByName("Ice Block")end

198/255Source: github.com

Ice Block or Cold Snap

Not yet tested by us

Casts Cold Snap if Ice Block is on cooldown (Ice Block in action slot 42), else Ice Block.

/run enable = GetActionCooldown(42) if enable==0 then CastSpellByName("Ice Block") else CastSpellByName("Cold Snap")end

119/255Source: github.com

Frost Nova rank by mana

Not yet tested by us

Casts Frost Nova rank 1 if mana is low, otherwise max rank.

/script if ((UnitMana("player"))<65) then CastSpellByName("Frost Nova(Rank 1)");end
/script if ((UnitMana("player"))>=65) then CastSpellByName("Frost Nova");end

160/255Source: github.com

Spammable Blizzard

Not yet tested by us

Casts Blizzard only when not targeting and not channeling.

/run if not SpellIsTargeting() and not CastingBarFrame.channeling then CastSpellByName("Blizzard")end

101/255Source: github.com

Client 1.14.2

Any spec

Immediate Counterspell

Not yet tested by us

Stops the current cast and casts Counterspell.

#showtooltip
/stopcasting
/cast Counterspell

44/255Source: icy-veins.com, 2024-11-17

Easy water and food creation

Not yet tested by us

Left click Conjure Water, right click Conjure Food (max rank).

#showtooltip
/cast [btn:2] Conjure Food; Conjure Water

54/255Source: icy-veins.com, 2024-11-17

Mouseover Polymorph

Not yet tested by us

Polymorphs the mouseover unit.

#showtooltip Polymorph
/cast [target=mouseover] Polymorph

57/255Source: icy-veins.com, 2024-11-17

Self and mouseover decurse

Not yet tested by us

Remove Lesser Curse on mouseover, else friendly target, else yourself.

/cast [@mouseover, help, nodead][help, nodead][@player]Remove Lesser Curse

74/255Source: wowhead.com, 2024-11-21

Water and food castsequence

Not yet tested by us

Conjures max rank Water then Food with one button.

#showtooltip
/castsequence reset=4 Conjure Water, Conjure Food

62/255Source: wowhead.com, 2024-11-21

Crowd control into bandage

Not yet tested by us

First press Polymorph, second press bandage.

#showtooltip
/castsequence Polymorph, Heavy Runecloth Bandage

61/255Source: icy-veins.com, 2024-11-17

Arcane

Spammable Arcane Missiles

Not yet tested by us

Casts Arcane Missiles only when not already channeling it.

#showtooltip Arcane Missiles
/cast [nochanneling:Arcane Missiles] Arcane Missiles

81/255Source: icy-veins.com, 2024-11-17

Arcane Explosion rank by combat

Not yet tested by us

Max rank Arcane Explosion in combat, rank 1 otherwise (flushes out Rogues cheaply).

#showtooltip
/cast [combat] Arcane Explosion; Arcane Explosion(Rank 1)

70/255Source: icy-veins.com, 2024-11-17

One-shot PoM Pyroblast burst

Not yet tested by us

Uses trinket, gloves, Arcane Power and Presence of Mind, then Pyroblast.

#showtooltip Arcane Power
/use 13
/use 10
/cast Arcane Power
/cast Presence of Mind
/cast Pyroblast

99/255Source: icy-veins.com, 2024-11-17

Fire

Rare mob tagging with Fire Blast

Not yet tested by us

Targets a named NPC and casts Fire Blast to secure the tag.

/target Owatanka
/cast Fire Blast

33/255Source: icy-veins.com, 2024-11-17

Mob tagging with Fire Blast (Wowhead)

Not yet tested by us

Casts an instant Fire Blast on a named mob.

/target name
/cast Fire Blast

29/255Source: wowhead.com, 2024-11-21

Frost

Frostbolt rank 1 on Alt

Not yet tested by us

Alt casts Frostbolt rank 1, otherwise max rank.

#showtooltip
/cast [mod:alt] Frostbolt(Rank 1); Frostbolt

57/255Source: icy-veins.com, 2024-11-17

Ice Block instant cast and cancel

Not yet tested by us

Stops casting, cancels Ice Block if active, otherwise casts it.

#showtooltip Ice Block
/stopcasting
/cancelaura Ice Block
/cast Ice Block

73/255Source: icy-veins.com, 2024-11-17

Cold Snap with stopcasting

Not yet tested by us

Stops the current cast and casts Cold Snap.

#showtooltip Cold Snap
/stopcasting
/cast Cold Snap

51/255Source: noobtoboss.com

Frost Nova with stopcasting

Not yet tested by us

Stops the current cast and casts Frost Nova.

#showtooltip Frost Nova
/stopcasting
/cast Frost Nova

53/255Source: noobtoboss.com