Macro for casting a spell (Flash Heal in this case) on living friendlies with prioritized conditions

I use this kind of macro for most of my spells.
As nice as the convenience is to not have to click target to cast the spell at the target – the down side is that you if the mouse pointer is accidentially on a friendly you cannot cast at your current target or yourself.

/use [@mouseover,help,nodead][help,nodead][@player] Flash Heal
  1. If the mouse pointer is hovering over the friendly living target (3D model in game or the unit frame)
  2. If the friendly living is targeted (condition 1 must not match)
  3. Fallback: casting spell at player (conditions 1 and 2 must not match)

Macro for shielding friendlies or mind flaying / spiking enemies depending on learned spells

First of all if pressed shift with the bound key it shields the player. For this it doesn’t matter if the mouse currently hovers over anything or the current target.

If an enemy is targeted, it will cast Mind Flay (or Mind Spike) if learned. This part could be extended for usage with heal spec to cast an offensive spell which is available for disc / holy.

The last line is for casting shield and queues conditions which are evaluated in order – meaning:
1. If the mouse pointer hovers over a friendly living target
2. If the a friendly living is targeted
3. If condition 1 and 2 do not match casts shield on player (without modifier)

#showtooltip
/use [mod:shift,@player]Power Word: Shield
/use [harm,nodead,known:Mind Flay] Mind Flay
/use [@mouseover,help,nodead][help,nodead][@player] Power Word: Shield

Target / Focus Macro

This is a CC macro for Silence. If no modifier is pressed it casts Silence at the target. If shift is pressed with the assigned key, it will cast it at your focus target.

/cast Silence
/cast [mod:shift, @focus]Silence

Set and clear focus macro

This macro clears your current focus and sets it to the target under the mouse pointer. If nothing is there it just clears it.

/clearfocus
/focus [@mouseover]

Use Trinket at slot macro

As the trinkets I use for different specs and on other characters are not the same – here the generic use trinket at slot number macro. 13 is the first slot, 14 the second. You can also combine this with spells or items.

#show 14
/use 14
/use Power Infusion

By bartus

Leave a Reply

Your email address will not be published. Required fields are marked *