Macros – stacking tasks
OK, two macro posts in one day. Let’s see if I can keep them short. (Warning – rehash and update of an earlier post.)
One of the useful things of macros is the ability to tie more than one task to a button. Now as I said in an earlier post (macros for healers) I like to stack targets. That is, I like to set up so the default goes to the target at which I’m aimed, but with a simple shift (or alt or ctrl) it goes to another pre-designated target. Here’s my current ‘standard’ heal-macro for Greater Heal to give you an example.
#showtooltip Flash Heal
/cast [modifier:ctrl,target=focus] Flash Heal; [modifier:alt,target=player] Flash Heal; [help] Flash Heal; [target=targettarget, help] Flash Heal
[added edit - Mera makes an excellent suggestion for these macros - not useful here, but good in several other places. Leave the name of the spell off the showtooltip. It will then show the spell that's being picked by the modifier.]
[Another edit. Gwaenar cleans up the above to show how nice it looks in with the improved syntax for 2.1.
/cast [modifier:ctrl,target=focus][modifier:alt,target=player] [help][target=targettarget, help] Flash Heal
There are, of course, other ways to stack. For example, you can stack different LEVELS of spell. This is particularly useful for downranking spells – using less powerful spells that fit the need and so save mana (even if on an efficiency basis they’re more ‘wasteful’.) Let’s take a simple example (not mine, but what I’d use if this were my pattern).
#showtooltip Flash Heal
/cast [modifier:shift] Flash Heal(Rank 3); Flash Heal
What this will do is cast my highest rank Flash Heal at the target — unless I am pressing the shift key, in which case it will cast rank 3 of Flash Heal.
I’m not restricted this way, either. For example, I can mix and match spells depending on the situation. For example, here’s a post-battle rez button I used for a while.
/cast [dead] Resurrection; Renew
If the target is dead, resurrect them. If they’re not dead, toss a renew. It’s a nice doubletap of the same button that most players tend to appreciate. Oh – notice in this specific case I didn’t put in the /stopcasting line. Renew won’t interrupt Resurrect, and it lets me spam the button till renew goes off, whereupon I can jump to my next target.
The main benefit of macros is this. It lets you combine several actions and options into one site. You’re limited, of course, to 255 characters, and there are some restrictions on flexibility. But even given those, the macro can be extremely useful. Play with the options and have fun.
Oh – if you want to be more complex, you need scripts. I… may wind up doing some posts on those. But at that point you’re getting close to creating your own programs, and drifting way outside the realm of “priesting”. Still, it may happen.