Thread Tools Display Modes
02-20-11, 08:35 AM   #1
BizWax
A Defias Bandit
Join Date: Feb 2011
Posts: 2
Macro-ing a mouseover heal.

You know the priest spell 'heal'. I tried to make a macro for it so that it would be cast at my mouseover.
Code:
#showtooltip
/cast[@mouseover,exists] [] Heal;
for some reason it doesn't work. I have the same macro for flash heal, and it works just fine, but not for heal.

Any insights?
  Reply With Quote
02-20-11, 08:45 AM   #2
leo81202
A Kobold Labourer
Join Date: Oct 2008
Posts: 1
Originally Posted by BizWax View Post
You know the priest spell 'heal'. I tried to make a macro for it so that it would be cast at my mouseover.
Code:
#showtooltip
/cast[@mouseover,exists] [] Heal;
for some reason it doesn't work. I have the same macro for flash heal, and it works just fine, but not for heal.

Any insights?
/cast [@mouseover,exists] [] Heal

the spaces make a difference
  Reply With Quote
02-20-11, 08:52 AM   #3
BizWax
A Defias Bandit
Join Date: Feb 2011
Posts: 2
Originally Posted by leo81202 View Post
/cast [@mouseover,exists] [] Heal

the spaces make a difference
curse me and my C# background

thanks man
  Reply With Quote
02-20-11, 09:32 AM   #4
Taryble
A Molten Giant
 
Taryble's Avatar
Join Date: Jan 2009
Posts: 811
the only one that matters is the one after the word "cast" - if you're doing a long macro and pushing the 255-character limit, the spaces between brackets and spell names can be removed, like so
Code:
/cast [@mouseover,help][]Heal
FYI, the "help" flag only attempts to cast on a friendly mouseover target that exists (yes, the "exists" flag is included automatically in both "harm" and "help").
__________________
-- Taryble
  Reply With Quote
02-20-11, 10:47 AM   #5
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 918
The following macro is best, if you actually want to extend/add to the behaviour of a helpfull spell.

1. Normal behaviour: you target something and cast the spell
2. /cast [@mouseover,help] behaviour: you mouseover something and cast the spell, you have to mouseover something to cast the spell

3.
Code:
#showtooltip Holy Light
/cast [target=mouseover, help] Holy Light; [target=target, help] Holy Light; [target=player] Holy Light
This will cast the spell on your target if you do not mouseover something.
It will cast the spell on yourself if you have no target and do not mouseover something.
It will cast the spell on something you mouseover.

All In One solution.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

  Reply With Quote
02-20-11, 01:11 PM   #6
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Originally Posted by Dawn View Post
Code:
#showtooltip Holy Light
/cast [target=mouseover, help] Holy Light; [target=target, help] Holy Light; [target=player] Holy Light
not to be nitpicky, but I'd shorten it some more
Code:
#showtooltip
/cast [@mouseover,help][@target,help][@player] Holy Light
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Macro-ing a mouseover heal.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off