P and D you two are great. Thank you very much for this. I have worked with it over the last couple of days and I came up with a variant that I like a lot so I thought I would share.
What this does not do: Care about the Target. There is no targetlasttarget. It does still preserve focus
What this does do: Eliminates the need for an alternative keybinding thus cutting your keys in half.
Note, to demonstrate the versatility of this macro I can use the same button for both a heal and a harm spell
/tar [mod:ctrl,mod:shift,target=Alldrasha][mod:alt,mod:shift,target=Alldrashâ][mod:shift,target=Alldrashã][mod:ctrl,target=Alldrashä][mod:alt,target=Alldrashå]
/tar [mod,target=targettarget]
/cast [harm]Lightning Bolt;[heal]Healing Wave;Healing Wave
The first line, the order is important. You must use your double mods first. Otherwise it is a pretty standard target (which of course all the credit goes to D and P).
The second line states that if any mod was used then and only then switch to the target's target. This is key. Because it will save you a "hidden" keybinding.
The final line is execute line for whatever you want to do.
With this macro use can also use any modifier to assist a player in regular play.
Now your keybindings will use the exact same key for all toons. For example if Lightning Bolt and Healing Wave are going on Button 0 then your hotstrings will use button 0 for all chars (with the appropriate modifier).
So bottom line. if you want to give up the concern about slave targets you can cut the number of keybindings in half. And if you tend to macro your main spell anyway you can combine them into one macro thus reducing the number of macros you have to maintain.
Edit Additions. I had a small irritant with /follow macro. The lead would still try to follow so for follow use the following below your /tar line (first line)
/stopmacro [nomod]
/follow
So if you don't have a modifier (i.e., the brain) then you wont attempt to follow anyone. I suspect this would also work for the method Pocalypse described.
Connect With Us