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
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)()
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)()
/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
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
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
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");
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
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;
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
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
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
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)");
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