Macro Woes: Single-Target Healing Uses a Lot of Space
I think it's been asked before, but I cannot find it for the life of me.
I duplicated a portion of Xzin's setup on my Xkeys because I liked the way it allowed for more flexibility with healing options. I set 2 whole columns of keys to heal a single, specific target (A, B, G, D, or O).
Anyway, I have a macro set up for each character on each Shaman, meaning I am using 5 macro slots on each toon for these. Add on top of that the fact that I have one for LHW and CH as well and you see I lose a lot of macro slots to accomplish this.
They look like this:
[code:1]#showtooltip
/tar Solusaa
/cast [target=player,exists,nodead,help] Healing Wave
[/code:1]
Now, the crux here is that I have to redo my keybindings on my Xkeys so I can take advantage of modifiers on these macros to come up with something like this:
[code:1]#showtooltip
/tar Solusaa
/cast [dead][help][nocombat] Ancestral Spirit
/cast [nodead][help][modifier:shift] Lesser Healing Wave
/cast [nodead][help][modifier:ctrl]Chain Heal
/cast [nodead][help] Healing Wave
[/code:1]
This would allow me to condense the macros to 5.
My question here involves usage of the modifiers. Is it possible to apply a different set of modifiers to change targets within these macros? I want to condense this further down to 1 or 2 macros for each toon, if possible.
Also, can any of these conditionals be shortened (I.E., "modifier" to "mod", "target" to "tar")? WoWWiki has nothing on this aside from a tidbit here and there, but nothing useful.
I am fairly certain the modified macro is too long, so if you know of any other condensing methods, do tell.
Re: Macro Woes: Single-Target Healing Uses a Lot of Space
Quote:
Originally Posted by amalgam
My question here involves usage of the modifiers. Is it possible to apply a different set of modifiers to change targets within these macros? I want to condense this further down to 1 or 2 macros for each toon, if possible.
If you can program your xkeys to send multiple modifiers, you can test for them like this.
/cast [nomodifier:shift,nomodifier:ctrl,nomodifier:alt,ta rget=A]Chain Heal
/cast [nomodifier:shift,nomodifier:ctrl,modifier:alt,targ et=B]Chain Heal
/cast [nomodifier:shift,modifier:ctrl,nomodifier:alt,targ et=A]Lesser Heal
...
Eight combinations at most, so four spells times five targets could theoretically fit in three macros. I'm pretty sure you won't fit more than 5 of those in a macro though (for a total of four macros). I hope you have short names for your characters. ;)
(Maybe Party1, Party2 and so on is shorter? You'd have different macros on the characters (since Party1 is self), but you might save a few characters there.)
Quote:
Originally Posted by amalgam
I am fairly certain the modified macro is too long, so if you know of any other condensing methods, do tell.
You could save a few characters by using semicolon and only typing /cast once. Also, I think I've seen mod:shift used in place of modifier:shift.
[code:1]/cast [nomod:shift,nomod:ctrl,nomod:alt,target=A]Chain Heal;[nomod:shift,nomod:ctrl,mod:alt,target=B]Chain Heal;[nomod:shift,mod:ctrl,nomod:alt,target=A]Lesser Heal[/code:1]
edit:
Here's what I had in mind. Four macros like these, one for each spell. I have not counted the number of characters. If you can cram two more lines in, you can get down to three macros!
[code:1]/use [mod:shift,target=Party1]Spell 1;
[mod:ctrl,nomod:alt,target=Party2]Spell 1;
[mod:ctrl,mod:alt,target=Party3]Spell 1;
[nomod:alt,target=Party4]Spell 1;
[mod:alt,target=Party5]Spell 1[/code:1]