Warlock 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

Use any Healthstone or Healing Potion

Not yet tested by us

Uses the first Healthstone or Healing Potion found in bags.

/run for b=0,4 do for s=1,GetContainerNumSlots(b,s)do local n=GetContainerItemLink(b,s)if n and (strfind(n,"Healthstone") or strfind(n,"Healing Potion"))then UseContainerItem(b,s,1)end end end

192/255Source: github.com

Create or use Healthstone

Not yet tested by us

Uses an existing Healthstone or creates a Major Healthstone.

/run for b=0,4 do for s=1,GetContainerNumSlots(b,s)do local n=GetContainerItemLink(b,s)if n and (strfind(n,"Healthstone"))then UseContainerItem(b,s,1)end end end
/cast Create Healthstone (Major)()

196/255Source: github.com

Create or use Soulstone

Not yet tested by us

Uses an existing Soulstone or creates a Major Soulstone.

/run for b=0,4 do for s=1,GetContainerNumSlots(b,s)do local n=GetContainerItemLink(b,s)if n and (strfind(n,"Soulstone"))then UseContainerItem(b,s,1)end end end
/cast Create Soulstone (Major)()

192/255Source: github.com

Fear with stopcast

Not yet tested by us

Stops the current cast and casts Fear.

/script SpellStopCasting()
/cast Fear

37/255Source: github.com

Banish or Fear

Not yet tested by us

Casts Banish on demons or elementals, otherwise Fear.

/run local CT = UnitCreatureType("target") if CT == "Demon" or CT == "Elemental" then CastSpellByName("Banish") else CastSpellByName("Fear") end

144/255Source: github.com

Ritual of Summoning announce

Not yet tested by us

Announces the summon target in say and casts Ritual of Summoning.

/say Summoning %t
/cast Ritual of Summoning

43/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

Demon Armor or Life Tap

Not yet tested by us

Casts Demon Armor if missing, otherwise Life Tap.

/run local i,x=1,0 while UnitBuff("player",i) do if UnitBuff("player",i)=="Interface\\Icons\\Spell_Shadow_RagingScream" then x=1 end i=i+1 end if x==0 then CastSpellByName("Demon Armor") else CastSpellByName("Life Tap")end

222/255Source: github.com

Affliction

DoT rotation: Corruption, CoA, Siphon Life

Not yet tested by us

Applies Corruption, Curse of Agony, Siphon Life in order when the debuff is missing.

/run c=CastSpellByName function b(k)for i=1,16 do if strfind(tostring(UnitDebuff("target",i)),k)then return 1 end end end if not b("ionExp")then c("Corruption(Rank 6)")elseif not b("eOfSar")then c("Curse of Agony(Rank 6)")else c("Siphon Life(Rank 4)")end

254/255Source: github.com

DoT rotation: Siphon Life, CoA, Corruption

Not yet tested by us

Applies Siphon Life, Curse of Agony, Corruption in order when the debuff is missing.

/run c=CastSpellByName function b(k)for i=1,16 do if strfind(tostring(UnitDebuff("target",i)),k)then return 1 end end end if not b("w_Requ")then c("Siphon Life(Rank 4)")elseif not b("eOfSarg")then c("Curse of Agony(Rank 6)")else c("Corruption(Rank 6)")end

255/255Source: github.com

Spammable Drain Life

Not yet tested by us

Casts Drain Life only when not already channeling.

/script if not CastingBarFrame.channeling then CastSpellByName("Drain Life") end

80/255Source: github.com

Curse of Tongues or Weakness

Not yet tested by us

Casts Curse of Tongues on mana users, otherwise Curse of Weakness.

/run if (UnitMana("target")>0) then CastSpellByName("Curse of Tongues") else CastSpellByName("Curse of Weakness") end

117/255Source: github.com

Drain Soul with pet passive

Not yet tested by us

Casts Drain Soul rank 1 and sets pet passive if it shares your target.

/run CastSpellByName("Drain Soul(Rank 1)") if UnitIsUnit("playertarget","pettarget") then PetPassiveMode() end

110/255Source: github.com

Amplify Curse then Curse of Agony

Not yet tested by us

Uses Amplify Curse if ready (spell slot 16) then casts Curse of Agony.

/script local e, f, g = GetSpellCooldown(16, SpellBookFrame.bookType); if (f <= 0) then CastSpellByName("Amplify Curse"); SpellStopCasting();end; CastSpellByName("Curse of Agony");

180/255Source: github.com, 2005-10-13

Curse of Exhaustion or Shadow by class

Not yet tested by us

Casts Curse of Exhaustion on melee-type targets, otherwise Curse of Shadow.

/run local c,u=CastSpellByName,UnitClass('target') if u == 'Druid' then c('Curse of Shadow') elseif UnitPowerType('target') ~= 0 or u == 'Paladin' then c('Curse of Exhaustion') else c('Curse of Shadow') end

206/255Source: github.com

Demonology

Pet attack if idle

Not yet tested by us

Sends the pet to attack if not set to passive or already attacking.

/run local _,_,_,_,isActive=GetPetActionInfo(10) if not isActive and not GetUnitName("pettarget") then PetAttack() end

118/255Source: github.com

Uber Pet Attack

Not yet tested by us

Toggles pet attack/follow on target; on a friendly target the pet assists it.

/run if UnitExists("target") then if UnitIsFriend("player","target") then AssistUnit("target");PetAttack();else if UnitExists("pettarget") and UnitIsUnit("target", "pettarget") then PetFollow();else PetAttack();end;end;else PetFollow();end;

240/255Source: github.com

Pet all-in-one abilities

Not yet tested by us

Casts the matching pet ability depending on pet and target.

/run if UnitIsFriend("player", "target")then CastSpellByName("Devour Magic")CastSpellByName("Fire Shield")else CastSpellByName("Sacrifice")CastSpellByName("Seduction") CastSpellByName("Devour Magic",1)end

204/255Source: github.com

Felhunter self dispel

Not yet tested by us

Casts Devour Magic on yourself without changing target.

/run CastSpellByName('Devour Magic', 1)

39/255Source: github.com

Imp Fire Shield target or self

Not yet tested by us

Casts Fire Shield on a friendly target, otherwise on yourself.

/run if UnitIsFriend ("player", "target") then CastSpellByName("Fire Shield") else CastSpellByName("Fire Shield",1)  end

120/255Source: github.com

Sacrifice or Fel Domination Voidwalker

Not yet tested by us

Sacrifices the Voidwalker if present, else Fel Domination and summon (slots 16 and 100).

/script local e,f=GetSpellCooldown(16, SpellBookFrame.bookType);if UnitCreatureFamily("pet") == "Voidwalker" then CastPetAction(5); elseif f<=0 then CastSpellByName("Fel Domination");SpellStopCasting();end; CastSpell(100, SpellBookFrame.bookType);

247/255Source: github.com, 2005-10-13

Fear and pet stop

Not yet tested by us

Casts Fear and recalls the pet if it attacks the same target.

/run if UnitExists("target") then CastSpellByName("Fear") end if UnitExists("pettarget") and UnitIsUnit("target", "pettarget") then PetFollow() PetStopAttack() end

163/255Source: github.com

Destruction

Life Tap then Shadow Bolt

Not yet tested by us

Life Taps below 500 mana, then casts Shadow Bolt.

/run if UnitMana("Player") < 500 then CastSpellByName("Life Tap")end
/cast Shadow Bolt

86/255Source: github.com

Curse of Shadow else Shadow Bolt

Not yet tested by us

Casts Curse of Shadow if missing, otherwise Shadow Bolt.

/run local i,x=1,0 while UnitDebuff("target",i) do if UnitDebuff("target",i)=="Interface\\Icons\\Spell_Shadow_CurseOfAchimonde" then x=1 end i=i+1 end if x==0 then CastSpellByName("Curse of Shadow") else CastSpellByName("Shadow Bolt")end

237/255Source: github.com

Curse of the Elements else Soul Fire

Not yet tested by us

Casts Curse of the Elements if missing, otherwise Soul Fire.

/run local i,x=1,0 while UnitDebuff("target",i) do if UnitDebuff("target",i)=="Interface\\Icons\\Spell_Shadow_ChillTouch" then x=1 end i=i+1 end if x==0 then CastSpellByName("Curse of the Elements") else CastSpellByName("Soul Fire") end

236/255Source: github.com

Trinket then Shadow Bolt

Not yet tested by us

Uses trinket if ready and target healthy or a player, then casts Shadow Bolt rank 9.

/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("Shadow Bolt(rank 9)");

255/255Source: github.com, 2005-10-13

Spammable Rain of Fire

Not yet tested by us

Casts Rain of Fire when not targeting or channeling.

/run if not SpellIsTargeting() and not CastingBarFrame.channeling then CastSpellByName("Rain of Fire")end

105/255Source: github.com

Spammable Hellfire

Not yet tested by us

Casts Hellfire only when not channeling.

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

78/255Source: github.com

Curse of Recklessness else Shadow Bolt

Not yet tested by us

Casts Curse of Recklessness if missing, otherwise Shadow Bolt.

/run local i,x=1,0 while UnitDebuff("target",i) do if UnitDebuff("target",i)=="Interface\\Icons\\Spell_Shadow_UnholyStrength" then x=1 end i=i+1 end if x==0 then CastSpellByName("Curse of Recklessness") else CastSpellByName("Shadow Bolt")end

241/255Source: github.com

Client 1.14.2

Any spec

Pet recall

Not yet tested by us

Pet returns and goes passive.

/petfollow
/petpassive

22/255Source: icy-veins.com, 2024-11-18

Pet attack with Immolate

Not yet tested by us

Sends the pet to attack and casts Immolate.

#showtooltip Immolate
/petattack
/cast Immolate

47/255Source: icy-veins.com, 2024-11-18

Spammable wand

Not yet tested by us

Shoots with the wand without cancelling on repeated presses.

/cast !Shoot

12/255Source: icy-veins.com, 2024-11-18

Spammable wand castsequence

Not yet tested by us

Shoot without toggling, via castsequence.

/castsequence !Shoot,!Shoot

27/255Source: warcrafttavern.com

Pet attack

Not yet tested by us

Sends the pet to attack.

/petattack

10/255Source: warcrafttavern.com

Affliction

Spammable Drain Life

Not yet tested by us

Casts Drain Life only when not already channeling it.

#showtooltip Drain Life
/cast [nochanneling:Drain Life] Drain Life

66/255Source: icy-veins.com, 2024-11-18

One-button grind castsequence

Not yet tested by us

Cycles Immolate, Curse of Agony, Corruption, Shoot with one button.

/castsequence reset=target Immolate, Curse of Agony, Corruption, Shoot

70/255Source: warcrafttavern.com

Drain Soul with SoulSort

Not yet tested by us

Spammable Drain Soul rank 1 with SoulSort sorting.

#showtooltip Drain Soul(Rank 1)
/use [nochanneling:drain soul]Drain Soul(Rank 1)
/ss sort

89/255Needs the addon SoulSortSource: warcrafttavern.com

Demonology

Single-button pet spells 1

Not yet tested by us

Spell Lock with Felhunter, Seduction with Succubus, on mouseover or target.

#showtooltip
/cast [@mouseover,exists,pet:felhunter][@target,pet:felhunter]Spell Lock;[@mouseover,exists,pet:succubus][@target,pet:succubus]Seduction

149/255Source: icy-veins.com, 2024-11-18

Single-button pet spells 2

Not yet tested by us

Sacrifice, Fire Shield, Seduction or Devour Magic by active pet.

#showtooltip
/cast [pet:Voidwalker] Sacrifice;[pet:imp] Fire shield;[pet:succubus,@mouseover,exists,nodead][pet:succubus,@target] Seduction;[pet:felhunter,@mouseover,exists,nodead][pet:felhunter,@target] Devour Magic;

217/255Source: icy-veins.com, 2024-11-18

All-in-one pet casts

Not yet tested by us

Casts Fire Shield, Sacrifice, Spell Lock, Seduction (only the active pet's spell works).

/cast Fire Shield(Rank 5)
/cast Sacrifice(Rank 6)
/cast Spell Lock(Rank 2)
/cast Seduction

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

Torment (Voidwalker taunt)

Not yet tested by us

Triggers pet bar slot 4.

/script CastPetAction(4)

24/255Source: warcrafttavern.com

Sacrifice (Voidwalker shield)

Not yet tested by us

Triggers pet bar slot 5.

/script CastPetAction(5)

24/255Source: warcrafttavern.com

Consume Shadows (pet heal)

Not yet tested by us

Triggers pet bar slot 6.

/script CastPetAction(6)

24/255Source: warcrafttavern.com

Suffering (AoE taunt)

Not yet tested by us

Triggers pet bar slot 7.

/script CastPetAction(7)

24/255Source: warcrafttavern.com