Thread Tools Display Modes
12-01-14, 08:15 AM   #1
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Holy Fire Macro / General target logic

Code:
/use [@target,harm,nodead][@focustarget,harm,nodead][@targettarget,harm,nodead][@party1target,harm,nodead][@mouseover,harm,nodead] Heiliges Feuer
Has the macro logic changed? With my priest I use this macro to cast holy fire.
Until 6.0.2 I was able to cast on my target (first option). Since 6.0.2 it only works if my focus (tank) has no target. If he has a target the second option is selected no matter if the first option is true ...
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
12-01-14, 08:36 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Try calling SecureCmdOptionParse yourself to see what's happening:

Code:
/dump SecureCmdOptionParse("[@target,harm,nodead] target; [@focustarget,harm,nodead] focustarget; [@targettarget,harm,nodead] targettarget; [@party1target,harm,nodead] party1target; [@mouseover,harm,nodead] mousever; nothing")
From there, it's easy to play around with it until you're getting the desired result.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.

Last edited by Phanx : 12-01-14 at 12:01 PM.
  Reply With Quote
12-01-14, 09:56 AM   #3
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Thanks for pointing me into the right direction ( I found the command you meant ) I'll investigate in the next dungeons
http://wowprogramming.com/docs/api/SecureCmdOptionParse
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
12-01-14, 01:22 PM   #4
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Strange, it returns target but still fires on focustarget ...
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
12-01-14, 01:47 PM   #5
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
What happens if you split it up:

Code:
/use [@target,harm,nodead] Heiliges Feuer
/stopmacro [@target,harm,nodead]
/use [@focustarget,harm,nodead][@targettarget,harm,nodead][@party1target,harm,nodead][@mouseover,harm,nodead] Heiliges Feuer
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
12-02-14, 02:24 PM   #6
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Splitting works. Still strange why my version fails
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote
12-02-14, 10:43 PM   #7
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Probably a Blizzard bug, but since there's no real way to report bugs to Blizzard (as far as I can tell bug reports submitted in-game and on the forums are never actually viewed by or conveyed to the developers; there are simple bugs like "someone copypasta'd the wrong translation" that have been around for years and would take someone literally 10 seconds to fix) you might as well just work around it and not bother trying to figure out why it's happening.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Holy Fire Macro / General target logic

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