### General
- Dungeon - This single button will teleport you out if you are inside, and back in if you are outside
```lua
/run LFGTeleport(IsInLFGDungeon())
```
- Smart Mount - Replace mount names with your own. Uses flying mount in flyable zones, ground mount elsewhere. Click to mount, Shift+click to dismount.
```lua
#showtooltip
/dismount [mod:shift,mounted]
/stopmacro [mod:shift]
/cast [flyable,outdoors,nomounted] <Flying Mount Name>
/cast [outdoors,nomounted] <Ground Mount Name>
```
- Smart Mount (Speed Priority) - Lists mounts from fastest to slowest. The first one you own that matches the zone conditions will be used. Remove lines for mounts you don't have. Click to mount, Shift+click to dismount.
```lua
#showtooltip
/dismount [mod:shift,mounted]
/stopmacro [mod:shift]
/cast [flyable,outdoors,nomounted] <310% Flying Mount>
/cast [flyable,outdoors,nomounted] <280% Flying Mount>
/cast [flyable,outdoors,nomounted] <150% Flying Mount>
/cast [outdoors,nomounted] <100% Ground Mount>
/cast [outdoors,nomounted] <60% Ground Mount>
```
- Set / Clear Focus - Hold Shift to clear focus, otherwise sets your target as focus
```lua
/clearfocus [mod:shift]
/focus [nomod]
```
- Assist Focus - Targets what your focus target is attacking
```lua
#showtooltip
/assist focus
```
- Target of Target
```lua
/target targettarget
```
- Accept / Complete Quest
```lua
/run AcceptQuest() CompleteQuest()
```
### Warlock
- Drain Soul - keep 8 shards
```lua
#showtooltip
/cast Drain Soul
/run i="Soul Shard"d=GetItemCount(i)-20 for x=0,4 do for y=1,GetContainerNumSlots(x)do if(d>0)then l=GetContainerItemLink(x,y)if l and GetItemInfo(l)==i then PickupContainerItem(x,y)DeleteCursorItem()d=d-1 end end end end
```
- Macro 1 Opener (Affliction) - manually pre-pot Potion of Wild Magic ~2s before pull
```lua
/PetAttack
/castsequence reset=4 Shadow Bolt, Haunt, Unstable Affliction, Corruption, Curse of Agony
```
- Macro 2 Rotation (Affliction)
```lua
/castsequence reset=6 Haunt, Unstable Affliction, Curse of Agony, Shadow Bolt, Shadow Bolt, Shadow Bolt, Shadow Bolt, Haunt, Unstable Affliction, Life Tap, Shadow Bolt, Shadow Bolt, Shadow Bolt, Shadow Bolt, Curse of Agony
```
- Macro 3 Execution Phase (Affliction) - 25% Boss HP
```lua
/castsequence reset=12 Corruption, Haunt, Unstable Affliction, Curse of Agony, Life Tap, Drain Soul, Drain Soul, Drain Soul, Drain Soul
/use Potion of Speed
```
- Macro 1 Opener (Demonology) - Life Tap, pre-pot Potion of Wild Magic ~2s before pull
```lua
/PetAttack
/castsequence reset=5 Demonic Empowerment, Immolate, Corruption, Curse of Agony, Immolation Aura, Shadow Bolt
```
- Macro 2 Rotation (Demonology)
```lua
/castsequence reset=10 Immolate, Corruption, Curse of Agony, Shadow Bolt, Shadow Bolt, Shadow Bolt, Life Tap, Shadow Bolt, Shadow Bolt, Shadow Bolt
```
- Macro 3 Execution Phase (Demonology) - 35% Boss HP
```lua
/castsequence reset=10 Life Tap, Immolate, Corruption, Soul Fire, Soul Fire, Soul Fire, Soul Fire, Shadow Bolt, Soul Fire, Soul Fire
/use Potion of Speed
```
- Summon Felhunter
```lua
#showtooltip Summon Felhunter
/cast [combat] Fel Domination
/stopcasting
/cast Summon Felhunter
```
- Summon Imp
```lua
#showtooltip Summon Imp
/cast [combat] Fel Domination
/stopcasting
/cast Summon Imp
```
- Summon Succubus
```lua
#showtooltip Summon Succubus
/cast [combat] Fel Domination
/stopcasting
/cast Summon Succubus
```
- Summon Felguard (Demonology)
```lua
#showtooltip Summon Felguard
/cast [combat] Fel Domination
/stopcasting
/cast Summon Felguard
```
- Spell Lock - Interrupts focus target if it exists and is hostile, otherwise interrupts current target
```lua
#showtooltip Spell Lock
/cast [target=focus,exists,harm] Spell Lock; Spell Lock
```
- Devour Magic - Dispels a magic effect from mouseover target, otherwise current target
```lua
#showtooltip Devour Magic
/cast [target=mouseover,exists] Devour Magic; Devour Magic
```
- Fear - Casts Fear on mouseover target if hostile, otherwise current target
```lua
#showtooltip Fear
/cast [target=mouseover,harm,exists] Fear; Fear
```
- Banish - Casts Banish on focus target if it exists and is hostile, otherwise current target
```lua
#showtooltip Banish
/cast [target=focus,harm,exists] Banish; Banish
```
- Curse of Elements - Applies to mouseover target if hostile, otherwise current target
```lua
#showtooltip Curse of Elements
/cast [target=mouseover,harm,exists] Curse of Elements; Curse of Elements
```
- Shadowfury (Destruction)
```lua
#showtooltip Shadowfury
/cast Shadowfury
```
- Soulshatter - Reduces your threat
```lua
#showtooltip Soulshatter
/cast Soulshatter
```
- Demonic Circle - Default: Teleport to circle. Shift+click: Place the circle
```lua
#showtooltip Demonic Circle: Teleport
/cast [mod:shift] Demonic Circle: Summon
/cast [nomod] Demonic Circle: Teleport
```
- Healthstone - Uses your Healthstone
```lua
#showtooltip Healthstone
/use Healthstone
```
- Soulstone - Uses a Master Soulstone on mouseover/target if available, otherwise creates one
```lua
#showtooltip Create Soulstone
/use [target=mouseover,help,nodead] Master Soulstone
/use [help,nodead] Master Soulstone
/cast Create Soulstone
```
- Ritual of Summoning
```lua
#showtooltip Ritual of Summoning
/cast Ritual of Summoning
```
- Pet Attack / Follow - Sends pet to attack current target if hostile, otherwise recalls pet
```lua
#showtooltip
/petattack [exists,harm]
/petfollow [noexists]
/petfollow [noharm]
```
- Seed of Corruption Macro
```lua
#showtooltip Seed of Corruption
/cast Demonic Empowerment
/cast [@pettarget, exists] Cleave
/use [@cursor] Saronite Bomb
/cast [@mouseover, harm, nodead][@target] Seed of Corruption
/petattack
/cqs
```
- Soul Fire Macro
```lua
#showtooltip
/cast [@mouseover,harm,nodead] [] Soul Fire
/cast Demonic Empowerment
/petattack
```
- Shadow Bolt Macro
```lua
#showtooltip
/cast [@mouseover,harm,nodead] [] Shadow Bolt
/cast Demonic Empowerment
/petattack
```