I want to cast holy fire if I have an enemy target and if I dont have a enemy target to cast on focus. All without changing targets.
Idk is this kinda close?
/cast [@focus, @target, harm] Holy Fire
Pls HALP
I want to cast holy fire if I have an enemy target and if I dont have a enemy target to cast on focus. All without changing targets.
Idk is this kinda close?
/cast [@focus, @target, harm] Holy Fire
Pls HALP
Your criteria need split up and ranked using the [].
#showtooltip Holy Fire
/cast [@target, harm] [@focus, harm] Holy Fire
More like:
/cast [@target, harm, nodead] [@focus, harm, nodead] Holy Fire
This won't check if your current target is enemy or not. What it does is:
if "I have a target" and it's hostile and not dead,
cast Holy Fire
else if I have a focus set up and it's hostile and not dead,
cast Holy Fire
It makes the assumption that if your current target is not an enemy, do the second thing.
So...with this macro, I can:
-Directly target an enemy and cast Solace on them
-Focus an enemy and target a friendly player, and still cast Solace on the focus target
Correct?
I just tried this macro however, and it doesn't seem to be working.
It's not showing the tooltip, and doesn't seem to cast Solace either.Code:#showtooltip /cast [@target, harm, nodead] [@focus, harm, nodead] Power Word: Solace
1. use "Holy Fire" not "Power Word: Solace".
2. If you have neither an enemy target nor an enemy focus target it will not show a tooltip and of course not cast anything.
Use:
Code:#showtooltip Holy Fire /use [@target,harm,nodead][@focus,harm,nodead]Holy Fire
This is what I personally use now after some fixes last night:
If I'm targeting something, shoot it.#showtooltip
/cast [@target, harm, nodead] Holy Fire, [@targettarget, harm, nodead] Holy Fire, [@focustarget, harm, nodead] Holy Fire; Holy Fire
If my target is targeting something, shoot that. This is good if I'm healing dps or tanks.
If my focus target is targeting something, dot that up. This one is specifically for the main tank's target whom I have on focus.
And if all else fails, just cast Holy Fire on my current target which is the same as the first condition. This is a catch all basically since it has no explicit conditions.
One flaw with this is that I have to change focus targets if the tank is kiting something far away on purpose. Small price to pay to change focus targets during combat. But this is why I have other conditionals so I can pick another target to get mana.
You can simplify this a lot:
Code:#showtooltip /use [@targettarget,harm,nodead][@focustarget,harm,nodead][] Holy Fire
The only difference is that shooting what you're targeting will happen as the last option (if your target's target and focus' target don't exist or aren't enemies) but that shouldn't ultimately matter much. If you really want your target to be absolute first priority, you can use:
Code:#showtooltip /use [@target,harm,nodead][@targettarget,harm,nodead][@focustarget,harm,nodead][] Holy Fire
That is not dead which can eternal lie.
And with strange aeons even death may die.
These are great! Will this work with cast time spells like Elemental Blast for a resto shaman for example?
The true demon lord.