WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Macro Help (https://www.wowinterface.com/forums/forumdisplay.php?f=140)
-   -   Holy Fire Macro / General target logic (https://www.wowinterface.com/forums/showthread.php?t=50636)

Rilgamon 12-01-14 08:15 AM

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 ...

Phanx 12-01-14 08:36 AM

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.

Rilgamon 12-01-14 09:56 AM

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

Rilgamon 12-01-14 01:22 PM

Strange, it returns target but still fires on focustarget ...

Phanx 12-01-14 01:47 PM

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


Rilgamon 12-02-14 02:24 PM

Splitting works. Still strange why my version fails ;)

Phanx 12-02-14 10:43 PM

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. :(


All times are GMT -6. The time now is 04:38 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI