Friday, 4 July 2008

Complicated Healing Macro Fun

Ever since I got my new PC I've been meaning to finish putting my UI and macro's back the way I had them on my old one. As I had a nice healing boost from my new mace and trinket last night I decided it really was time to at least restore my healing macro's.

So with a bit of a reminder (read: plagiarism) from Mystic Chicanery I rebuilt them. Ahem, just as we were about to make the first pull.

What I had was a HL(6) and a FoL macro doing the same thing. I Manually weave in the HL(6) in every 5-7 casts to keep up Light's Grace and a HL(11) macro for those "Oh Shit!" moments.

HL(4) and FoL Macro

#showtooltip Flash of Light
/script UIErrorsFrame:Hide();
/use Essence of the Martyr
/use Ribbon of Sacrifice
/cast [target=mouseover] Flash of Light
/script UIErrorsFrame:Clear();UIErrorsFrame:Show();

Big Holy Light Macro

#showtooltip Holy Light
/script UIErrorsFrame:Hide()
/cast Divine Illumination
/cast Divine Favor
/cast [target=mouseover] Holy Light
/script UIErrorsFrame:Clear();UIErrorsFrame:Show();

Now what I am thinking of doing is:

a) Incorporating Rohan's cast sequence (an excellent post which I read yonk's ago but never got round to implementing) into the FoL macro and then I can lose the HL(4) button altogether. Replacing the /cast [target.... line with:

/castsequence [target=mouseover] reset=10 Holy Light(Rank 6), Flash of Light, Flash of Light, Flash of Light, Flash of Light, Flash of Light

b) Incorporating Libram swapping into macro after the cast. I discussed this with Nibuca quite some time ago and never implemented it. A simple choice of one of these should suffice. It can go after the cast as it is equipped during the cast time apparently.

/equip Blessed Book of Nagrand
/equip Libram of Souls Redeemed

c) Swapping Divine Illumination into the FoL macro for increased mana efficiency.

d) Incorporating targettarget and if friendly into the cast sequence macro

e) Having 2 FoL/HL macros. One with FoL(6) and HL(4) for very mana efficient healing and a FoL(7) and HL(6) for when things get more hectic.

You'll notice the /script lines. These stop error messages being shown on the screen when trinkets are not available for use and when DF and DI are not ready yet, unfortunately you still hear the messages. If you know a way to stop the messages being said by your avatar please let me know.

The trouble is you are limited to the number of characters you can have in a macro, something like 250.

Just by doing a,b and c above my macro now becomes:

#showtooltip Flash of Light
/script UIErrorsFrame:Hide();
/cast Divine Illumination
/use Essence of the Martyr
/use Ribbon of Sacrifice
/castsequence [target=mouseover] reset=10 Holy Light(Rank 6), Flash of Light, Flash of Light, Flash of Light, Flash of Light, Flash of Light
/equip Libram of Souls Redeemed
/script UIErrorsFrame:Clear();UIErrorsFrame:Show();

This is 360 characters and I haven't even put in 5 x (Rank 6)

Now I have read somewhere about getting round this by calling a macro from a macro, but I can't find it anywhere at the moment.

Ideally I will have 2 separate macro's just doing the 2 separate castsequences as described in (e) and then calling one normally and the other with a modifier such as shift or alt.

Can someone please tell me how to do it? plxkkthxbai


Gwaendar said...

A couple of things:

- Feedback sound for error messages can be turned off in your interface settings
- You can completely skip the two script lines if you use a handy little addon called Error Monster.
- In general, any /script command could be shortened to /run
- You can activate trinkets by their slot number, /use 13 and /use 14
13 is the top trinket slot, 14 the bottom one.

HolyWarrior said...

Excellent, Thanks Gwaendar.

- I will check out the error sound options when I get home.

- I'll have to think about error monster

- /run - sounds easy enough

- I can't use /use 13 etc in case I have to swap trinkets out. ie having the PvP trinket equipped for Winterchill. The first time I tried to heal I would kick off a 5 minute cooldown unnecessarily that I'm sure to need 20 seconds later!

Thanks very much for your suggestions :)

Dave said...

As I am at work atm, my help will be a little limited, but instead of the trinket name, you could use its itemID. that will cut out a bit.

Also, you could just use #showtooltip with the ? picked as the icon, then you would get the icon of whatever was going to be used/cast next. Or just leave out the #showtooltip part as you know what the macro is supposed to do and could select the FoL icon.

Just a few ideas.

Nibuca said...

Note that after the next patch 2.4.3 you won't be able to libram-swap after the start of the spellcast.

HolyWarrior said...

@Dave - Excellent Idea, thanks.

@Nibuca - really? hmm. Can we still get it equipped before the spell is cast?

Dave said...

Sorry to take so long to get back to you, but I have been busy. 4 alts at lvl 30 now. 8)

I believe the command would be

/use item:1234

Easy way to get the item ide if you dont have a mod that shows it, is to lookit up on WOWhead and look for the itemID in the URL.

You could also referance the bag/slot number if you always place the trinkets in the same place again this could be odd if you have a bag mob, but not impossible.

/use 1 3

Would use the item in bag 1 slot 3.