Quantcast Penance Macro Help - WoWInterface
Thread Tools Display Modes
04-08-15, 08:27 PM   #1
Jynks
A Chromatic Dragonspawn
Join Date: Oct 2006
Posts: 188
Penance Macro Help

Hi there... still trying to get wow back into the state I had it before my break. I thought all the macros saved

What I would like is a penance macro that....

• When mousing over it casts at teh mouseover target. Regardless if it is friend or foe (as it can dmg and heal)
• If there is no mouseover target but there is a selected target, it cast at that.

This is what I tried but it doesn't work....

/cast [target=mouseover] Penance; [target, nodead] Penance
Any ideas?
  Reply With Quote
04-08-15, 10:00 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,542
add exists to your first conditional

Code:
/cast [target=mouseover, exists] Penance; [target, nodead] Penance
or, shorter...
Code:
/cast [@mouseover,exists] Penance; [nodead] Penance
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
04-08-15, 10:51 PM   #3
10leej
A Molten Giant
 
10leej's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2011
Posts: 573
Originally Posted by Seerah View Post
or, shorter...
Code:
/cast [@mouseover,exists] Penance; [nodead] Penance
Or even shorter (macros don't need spaces)

Code:
/use [@mouseover,exists][]penance
__________________
Tweets Website
  Reply With Quote
04-09-15, 07:12 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
While there's technically no need to specify "nodead" since Penance can't be cast on a dead target, it's better to keep it so you don't end up with the "glowing hand" cursor. I'd also add "nodead" to the mouseover check so it also ignores dead mouseover targets:

Code:
/cast [@mouseover,nodead] [nodead] Penance
(And I'd keep the spaces to improve readability in the tiny in-game macro editor. )
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addon • Turn any code into an addon • More addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote
04-10-15, 12:42 AM   #5
Jynks
A Chromatic Dragonspawn
Join Date: Oct 2006
Posts: 188
thanks guys!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Penance Macro Help

Thread Tools
Display Modes

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