1. #1

    Super quick macro question! Solace!

    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

  2. #2
    Your criteria need split up and ranked using the [].

    #showtooltip Holy Fire
    /cast [@target, harm] [@focus, harm] Holy Fire

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

  4. #4
    Quote Originally Posted by Drslump View Post
    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.
    Quote Originally Posted by laalipop View Post
    Your criteria need split up and ranked using the [].

    #showtooltip Holy Fire
    /cast [@target, harm] [@focus, harm] Holy Fire
    ty friends!

  5. #5
    Quote Originally Posted by Drslump View Post
    /cast [@target, harm, nodead] [@focus, harm, nodead] 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.

    Code:
    #showtooltip
    /cast [@target, harm, nodead] [@focus, harm, nodead] Power Word: Solace
    It's not showing the tooltip, and doesn't seem to cast Solace either.

  6. #6
    Quote Originally Posted by anon5123 View Post
    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.

    Code:
    #showtooltip
    /cast [@target, harm, nodead] [@focus, harm, nodead] Power Word: Solace
    It's not showing the tooltip, and doesn't seem to cast Solace either.
    Use Holy Fire instead of Solace, it'll change on its own. And if you want it to always Display a tooltip specify the spell.

    Code:
    #showtooltip Holy Fire
    /cast [@target, harm, nodead] [@focus, harm, nodead] Holy Fire

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

  8. #8
    This is what I personally use now after some fixes last night:

    #showtooltip
    /cast [@target, harm, nodead] Holy Fire, [@targettarget, harm, nodead] Holy Fire, [@focustarget, harm, nodead] Holy Fire; Holy Fire
    If I'm targeting something, shoot it.
    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.

  9. #9
    Pandaren Monk shanthi's Avatar
    10+ Year Old Account
    Join Date
    Oct 2011
    Location
    California
    Posts
    1,775
    Quote Originally Posted by Drslump View Post
    This is what I personally use now after some fixes last night:



    If I'm targeting something, shoot it.
    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.

  10. #10
    High Overlord -Etna-'s Avatar
    7+ Year Old Account
    Join Date
    Nov 2014
    Location
    Wise Chip Factory
    Posts
    177
    These are great! Will this work with cast time spells like Elemental Blast for a resto shaman for example?
    The true demon lord.

  11. #11
    Pandaren Monk shanthi's Avatar
    10+ Year Old Account
    Join Date
    Oct 2011
    Location
    California
    Posts
    1,775
    Quote Originally Posted by -Etna- View Post
    These are great! Will this work with cast time spells like Elemental Blast for a resto shaman for example?
    Yup. The macro is just handling the targeting.
    That is not dead which can eternal lie.
    And with strange aeons even death may die.

  12. #12
    Quote Originally Posted by laalipop View Post
    Use Holy Fire instead of Solace, it'll change on its own
    No, you don't have to use Holy Fire. I've used "Power Word: Solace" in macros before. It works fine.

  13. #13
    Quote Originally Posted by anon5123 View Post
    No, you don't have to use Holy Fire. I've used "Power Word: Solace" in macros before. It works fine.
    Yes, but "Holy Fire" is still better. It is shorter and it works even without the talent.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •