Page 1 of 1

Old macro on live that I use, can't make it work here. Help?

PostPosted: Mon Sep 21, 2015 8:16 am
by Cspence
If this exact one can't be made to work, does anyone know one that does the same thing?

Heres the macro.

#showtooltip Lesser heal
/cast [target=mouseover,help] Lesser heal; [help] Lesser heal; Lesser heal


Very good macro for me for healing abilities and bubbles. If I play priest, this is what I'll HAVE to have, otherwise i can't heal.

It doesn't work when I try to use it. I'm pretty sure I have to include the rank in the macro? But even then it doesn't work, so I'm lost.

Help?

Re: Old macro on live that I use, can't make it work here. H

PostPosted: Mon Sep 21, 2015 9:17 am
by LYQ
it would be more helpful if you would describe what this macro should do when, I've no clue how the retail macro syntax is

Re: Old macro on live that I use, can't make it work here. H

PostPosted: Mon Sep 21, 2015 10:10 am
by Dreez
#showtooltip
target=x
both doesn't exist in vanilla

Re: Old macro on live that I use, can't make it work here. H

PostPosted: Mon Sep 21, 2015 10:24 am
by Aunstic
LYQ wrote:it would be more helpful if you would describe what this macro should do when, I've no clue how the retail macro syntax is

Looking at it like it's a goto, my guess is:
Code: Select all
TargetUnit("mouseover"); CastSpellByName("Lesser Heal");


Not a pro at WoW's functions, but this might be what he want if you're able to target a unit via mousover like that.

Re: Old macro on live that I use, can't make it work here. H

PostPosted: Mon Sep 21, 2015 6:39 pm
by Cspence
Yeah so I'm sorry guys.

What the macro does is it puts a mouseover, a target heal and a self heal all into one macro. It's a handy tool for pve.

Basically if I have no target, it heals myself. If I have a target, it prioritizes that target. If I mouseover someone, if heals them instead.

Re: Old macro on live that I use, can't make it work here. H

PostPosted: Tue Sep 22, 2015 1:39 pm
by LYQ
try

/run if UnitExists("target") and not UnitIsEnemy("target") then CastSpellByName("Lesser Heal") elseif UnitExists("mouseover") and not UnitIsEnemy("mouseover") then TargetUnit("mouseover") CastSpellByName("Lesser Heal") ClearTarget() else TargetUnit("player") CastSpellByName("Lesser Heal") ClearTarget() end

in case the macro is too long you either need Supermacro or maybe delete few empty spaces if possible