- Self Cast Key Bug
- Season of Discovery Rune Placeholder Spells
- General Macro Templates
- Ping Macro
- Universal Mount Macro
- Known Macro
- Helpful Mouseover Macro
- Harmful Mouseover Macro
- Reaction Neutral Mouseover Macro
- Help/Harm Macro
- Multi-modifier Mouseover Macro
- Reticle Macro
- Nochanneling Macro
- Stopcasting Macro
- Cancelaura Macro
- Base Healing Macro
- Offensive Macro for Healers
- Conditional Focus Cast
- Dynamic GetSpellInfo Macro
- CVar Toggle
- World Marker Spam
- Class Utility Macros
- Other Resources
Self Cast Key Bug
In 9.2.5 Blizzard introduced a bug where the Self Cast Key
interferes with @unit
(mouseover, focus, etc.) and @cursor
macros. If you want to use modifiers with those types of macros, you need to ensure your Self Cast Key
is set to None
[Custom
as of TWW] (even if your Self Cast
is set to Auto
).
More info on the issue:
Season of Discovery Rune Placeholder Spells
With Season of Discovery, Blizz has added a number of placeholder spells you can use that will dynamically update depending on the rune you’ve selected. You can use these in combination with any conditions like you would with normal spells.
#showtooltip
/cast Legs Rune Ability
#showtooltip
/cast Hands Rune Ability
#showtooltip
/cast Chest Rune Ability
Full List
https://www.wowhead.com/classic/spells/abilities/name:rune+ability
General Macro Templates
Ping Macro
Pings your mouseover, if you have one, otherwise pings the ground at your cursor. The default keybind doesn’t support the mouseover of frames but this does.
/ping [@mouseover,harm] Warning; [@mouseover,help] Assist; [@mouseover,exists] Ping
/stopmacro [@mouseover,exists]
/ping
Universal Mount Macro
#showtooltip
/cast [flyable] FLYING_MOUNT; GROUND_MOUNT
/dismount [mounted]
Known Macro
With the addition of the known
condition you can now filter macro logic by spell name or spell id.
#showtooltip
/cast [known:SPELL1] SPELL1; [known:123456] SPELL2
Helpful Mouseover Macro
Cast a helpful spell prioritizing mouseover.
#showtooltip
/cast [@mouseover,help,nodead] [] SPELL
Harmful Mouseover Macro
Cast a harmful spell prioritizing mouseover.
#showtooltip
/cast [@mouseover,harm,nodead] [] SPELL
Reaction Neutral Mouseover Macro
Cast a spell that can target both friends and enemies, prioritizing mouseover (Penance, Holy Shock, Shadowstep etc.)
#showtooltip
/cast [@mouseover,exists,nodead] [] SPELL
Help/Harm Macro
This will cast one spell when mousing over or targeting a friend and another when mousing over or targeting an enemy.
HELP_SPELL as Default
#showtooltip
/cast [@mouseover,help,nodead] HELP_SPELL; [@mouseover,harm,nodead] [harm] HARM_SPELL; HELP_SPELL
HARM_SPELL as Default
#showtooltip
/cast [@mouseover,harm,nodead] HARM_SPELL; [@mouseover,help,nodead] [help] HELP_SPELL; HARM_SPELL
Multi-modifier Mouseover Macro
Example of how to include multiple spells, differentiated by modifier, including mouseover. Trim it down and change exists
to help
or harm
depending on what you’re actually using it for.
#showtooltip
/cast [mod:ctrl,@mouseover,exists,nodead] [mod:ctrl] CTRL_SPELL; [mod:shift,@mouseover,exists,nodead] [mod:shift] SHIFT_SPELL; [mod:alt,@mouseover,exists,nodead] [mod:alt] ALT_SPELL; [@mouseover,exists,nodead] [] SPELL
Note: Keybinds take priority over macro modifiers. By default SHIFT 1-6 are bound to Action Page 1-6 and CTRL 1-6 are bound to your pet bar. You’ll need to unbind any conflicts to use them as macro modifiers.
Reticle Macro
Alt: Cast at Player
Combat: Cast at Cursor
Default: Display Reticle
#showtooltip
/cast [mod:alt,@player] [@cursor,combat] [] SPELL
Nochanneling Macro
Prevent casting when CHANNELING SPELL is channeling.
#showtooltip
/stopmacro [channeling:CHANNELING SPELL]
/cast SPELL
Prevent casting when ANY SPELL is channeling.
#showtooltip
/stopmacro [channeling]
/cast SPELL
Stopcasting Macro
Cancels your currently queued spell and interrupts your current cast so you can cast a priority spell. Note: this functionality is automatically baked into all interrupts. Also, this is really only useful for cancelling spells with a cast time > 1 GCD OR if you’re cancelling so you can cast a spell that’s off the GCD.
#showtooltip
/cqs
/stopcasting
/cast SPELL
Cancelaura Macro
Useful for things like Levitate, Ice Block, Spectral Sight where you want to be able to toggle them on and off with a single key.
#showtooltip
/cancelaura BUFF
/cast SPELL
Base Healing Macro
Alt: Self Cast
Mouseover Friend: Cast on Mouseover
Target Friend: Cast on Target
Target Enemy Targeting Friend: Cast on Enemy’s Target
Default casting behavior. This condition also serves to generate the correct tooltip.
#showtooltip
/cast [mod:alt,@player] [@mouseover,help,nodead] [help] [@targettarget,help,nodead] [] SPELL
Offensive Macro for Healers
This macro is for healers who want to dps without switching to enemy targets. Basically allows you to dps while having fiendly players targeted or moused over.
Mouseover Enemy: Cast on Mouseover
Target Enemy: Cast on Target
Mouseover Friend Targeting Enemy: Cast on Friend’s Target
Target Friend Targeting Enemy: Cast on Friend’s Target
Default casting behavior. This condition also serves to generate the correct tooltip.
#showtooltip
/cast [@mouseover,harm,nodead] [harm] [@mouseovertarget,harm,nodead] [@targettarget,harm,nodead] [] SPELL
Conditional Focus Cast
Shift: Clear Focus
Alt: Set/Cast on Focus
Default: Cast on Target
#showtooltip
/focus [mod:alt,@focus,dead] [mod:alt,@focus,noexists]
/clearfocus [@focus,dead] [mod:alt,@focus,noexists] [mod:shift]
/cast [mod:alt,@focus,exists] [] SPELL
Dynamic GetSpellInfo Macro
This has been supplanted by the known
condition in Retail but you may still need it in Classic. You can add whatever conditions you want to the cast lines.
#showtooltip
/cast SPELL1
/cast SPELL2
/cast SPELL3
/run local G=GetSpellInfo SetMacroSpell(GetRunningMacro(), G"SPELL1" or G"SPELL2" or G"SPELL3")
CVar Toggle
Macro for toggling a 0/1 CVar on and off. Replace CVAR_NAME
with the CVar you want to toggle.
/run local k,v = "CVAR_NAME" v = C_CVar.GetCVar(k) C_CVar.SetCVar(k, 1 - v) print(k .. (v == "1" and " Disabled" or " Enabled"))
World Marker Spam
11.0 Broke the macro versions of this but there’s a WeakAura that gives the same functionality:
https://wago.io/koguSJAuR
Class Utility Macros
Death Knight
Alt: Lichborne
Help: Raise Ally
Default: Raise Dead/Gnaw
#showtooltip
/cast [mod:alt] Lichborne; [@mouseover,help,dead] [help,dead] Raise Ally; [spec:3,nopet] Raise Dead; [spec:3,@mouseover,harm,nodead] [spec:3] Gnaw
Demon Hunter
Alt: Spectral Sight
Default: Consume Magic
#showtooltip
/cancelaura Spectral Sight
/cast [mod:alt] Spectral Sight; [@mouseover,harm,nodead] [] Consume Magic
Druid
Dead: Rebirth
Harm: Soothe
Default: Nature’s Cure/Remove Corruption
#showtooltip
/cast [@mouseover,help,dead] [help,dead] Rebirth; [@mouseover,help,nodead] Remove Corruption; [@mouseover,harm,nodead] [harm] Soothe; Remove Corruption
Evoker
Shift: Rescue
Alt: Cauterizing Flame
Default: Naturalize/Expunge
#showtooltip
/cast [mod:shift,known:370665,@mouseover,help,nodead] [mod:shift,known:370665] Rescue; [mod:alt,known:374251,@mouseover,help,nodead] [mod:alt,known:374251] Cauterizing Flame; [@mouseover,help,nodead] [] Expunge
Hunter
Shift: Revive/Mend Pet
Alt: Misdirection (Focus > Mouseover > Target > Pet)
Default: Tranquilizing Shot
/cast [mod:shift,@pet] Revive Pet; [nomod,@mouseover,harm,nodead] [nomod] Tranquilizing Shot; [@focus,help,nodead] [@mouseover,help,nodead] [help] [@pet,exists] [] Misdirection
If you want to be absolutely certain it perfectly falls back, use this version instead. It just excludes the possibility of mouseover or focus not in your group
#showtooltip
/cast [mod:alt,@pet] Revive Pet; [@focus,help,group] [@mouseover,help,nodead,group] [help,group] [@pet,exists] [] Misdirection
Mage
Alt: Alter Time
Harm: Spellsteal
Default: Remove Curse
#showtooltip
[mod:alt] Alter Time; [@mouseover,help,nodead] Remove Curse; [@mouseover,harm,nodead] [harm] Spellsteal; Remove Curse
Monk
Alt: Diffuse Magic
Shift: Dampen Harm
Help: Detox
Harm (WW): Touch of Karma
#showtooltip
/cast [mod:alt] Diffuse Magic; [mod:shift] Dampen Harm; [spec:3,@mouseover,harm,nodead] Touch of Karma; [@mouseover,help,nodead] [help] Detox; [spec:3,harm] Touch of Karma
Paladin
Dead: Intercession
Default: Cleanse Toxins/Cleanse
#showtooltip
/cast [@mouseover,help,dead] [help,dead] Intercession; [@mouseover,help,nodead] [] Cleanse Toxins
Priest
Shift: Mind Soothe
Alt: Mass Dispel
Harm: Dispel Magic
Default: Purify Disease/Purify
#showtooltip
/cast [mod:shift] Mind Soothe; [mod:alt] !Mass Dispel; [@mouseover,help,nodead] Purify Disease; [@mouseover,harm,nodead] [harm] Dispel Magic; Purify Disease
Rogue
Shift: Crimson Vial
Alt: Shiv
Default: Grappling Hook/Shadowstep
#showtooltip
/cast [mod:shift] Crimson Vial; [mod:alt] Shiv; [known:36554,@mouseover,exists,nodead] Shadowstep; [known:195457,@cursor] Grappling Hook; [known:36554,exists] Shadowstep
Shaman
Harm: Greater Purge/Purge
Default: Purify Spirit/Cleanse Spirit
#showtooltip
/cast [@mouseover,help,nodead] Cleanse Spirit; [known:378773,@mouseover,harm,nodead] [known:378773,harm] Greater Purge; [@mouseover,harm,nodead] [harm] Purge; Cleanse Spirit
Warlock
Alt: Unending Resolve
Dead: Soulstone [overly complex due to Blizz bugs]
Default: Command Demon
/cqs [@mouseover,help,dead] [help,dead]
/target [@mouseover,help,dead]
/cast [mod:alt] Unending Resolve; [@mouseover,help,dead] [help,dead] Soulstone; [@mouseover,exists,nodead] [] Command Demon
/targetlasttarget [@mouseover,help,dead]
Warrior
Alt: Spell Reflection
Shift: Shattering Throw
Default: Heroic Throw
#showtooltip
/cast [mod:alt,known:23920] Spell Reflection; [mod:shift,known:64382,@mouseover,harm,nodead] [mod:shift,known:64382] Shattering Throw; [@mouseover,harm,nodead] [] Heroic Throw