Binding Heal Macro help

This macro I made was intended to heal my target priority first if it is a friendly, if not and i am targeting an enemy target it will heal my party1 target. Though I’ve come into a problem with this macro; When I want to heal my party1 target and I am targeting myself it becomes a problem, the macro will not allow me to cast it because it is a type of spell mechanic where another target is required to be able to cast it.

Binding Heal <-Link to spell for info about it.

#showtooltip Binding Heal
/cast [@target,noharm,exists] Binding Heal; [@party1] Binding Heal

I’m hoping if someone could help me figure out a work around with this macro so I can able to target myself and able to still cast binding heal to my party1 target.

If you mean selectively, this:

#showtooltip
/cast [@mouseover,help,nodead][mod:alt,@party1,help,nodead][mod:ctrl,help,nodead][]Binding Heal

No modifier on the mouseover because I assumed you wouldn’t be moused over a friendly unless you intended to heal them

If you mean based on unit priority and assuming mouseover > party1 > target> self, this:

#showtooltip
/cast [@mouseover,help,nodead][party1,help,nodead][help,nodead][]Binding Heal

It’s a little odd to specify “party1” unless you’re routinely either only doing Arena 2v2 (possible) or running around questing with a single person with you.

There aren’t any macro conditionals that can say “friendly target, but not myself.”

So, you’re going to have to find a different approach to how you’re doing stuff. One option is to just not target yourself. I don’t know if it’s a problem of target discipline (something you can practice) or if you’re targeting yourself for some other reason. (And perhaps finding a way to not have to do that.)

Another option would be to use focus instead of target for healing. So, set up a keybind to set your focus, and then just use that for people you want to heal instead of targeting them.

#showtooltip
/cast [@focus, help, nodead][@party1, help, nodead][]Binding Heal

You can also go with modifiers so you have an override when your targeting yourself. (Again, this assumes you’ve targeted yourself intentionally. It won’t help if you don’t realize you’re targeted.)

#showtooltip
/cast [@party1, help, nodead, mod:shift][help, nodead][@party1, help, nodead][]Binding Heal

Actually there are.

[help]

That’s “Friendly Target Unit.”

[]

or

[@player]

That’s “default behavior” (which often means “cast on me”) or the explicit player unit.

Target is a specific unit when dealing with the UI.

Target
Focus
Player
PartyN

Those are all distinct and technical terms for different UNITS.

Refering to one’s Focus as my “Focus Target” (for example) is confusing (I’ve been down this road before in this forum). From a technical perspective it’s pretty much indistinguishable from the target of your focus (your focustarget).

It would probably be better practice for the gurus here (and you’re one, Udiza, I respect you) to start using those terms in their technical sense rather than the somewhat sloppy ways they’re used in some of the wikis.

The receiver of a spell or ability is a “unit” - that unit might be a target, a focus, a pet, a targetpet, a party member, a raid member, an arena opponent, a boss, any one of (probaby) dozens of possibilities plus explict player name/player name-realm references.

This is one of those situations where the jargon matters, imho.

I try (and sometimes fail) to keep it straight when I posting a help to someone here.

It is confusing, even when you are aware of the issue (sometimes) and the conversational tone of explanations makes it worse, much worse.

But “friendly target” is [help] and “myself” is default spell behavior (if applicable and you have your settings right) or “[player]” or your actual player name or your NameplateN or your RaidN.

Now, if you’re looking to have both in an “and” situation, it is doable, but not in a single macro.

You’d have to have one filter in one macro as a conditional on a /click command and the second conditional on the second macro.

That’s doable, but bulky and a mess for something like this.

1 Like

In which the player is included (if they are set as target.) If you use [help] and have yourself targeted (even with auto self cast turned off) it heals you. If you know of a way to use conditionals to say friendly target but not myself, that would be amazing.

As the OP is specifically running into an issue when they’ve hard targeted themself, we are still indeed talking about the [help] conditional which can’t differentiate between a friendly target that is not oneself and a friendly target that is oneself. The [@player] conditional doesn’t fit into the discussion at all. (And so I didn’t mention it in my post.)

Yeah, that’s the edge case where you’d need two macros chained to do it.

It is doable. I do things like that with my hunter macros.

But it’s ugly.

I can provide an example of it if you want.

I won’t if you’re not really interested (I wouldn’t blame you).

I think it’s worth posting. (With the disclaimer that it’s a messy option.) I’m always interested in learning new ways to macro, and it would be another option for the OP to try, so it would be helpful for that.

Hahaha. Turns out it’s not needed.

I tested this on my (now dormant) Druid.

#showtooltip Remove Corruption
/cast [@none,help][mod,help]Remove Corruption

Testing:

Build a macro essentially similar to that but with whatever targeted helper spell you have available.

Put the macro on a handy button somewhere.

Target your own character.

Run the macro without a modifier - nothing will happen.

Hold any modifier down - the spell will be cast.

That’s how you exclude yourself from “friendly target” - who knew? I though @none only worked with reticule spells. I only found this out because I got in such a hurry typing it in that I “forgot” that and then was surprised when it worked.

There may be some “self cast” thing that has to be set for this to work. I honestly don’t know what my settings are. Usually I have the self-cast key disabled, but if there’s another self-cast parameter I’ve missed (or set many moons ago and forgot about) I can try to test around that.

So, if you wanted to embed “target” in the middle of a prioritized list of friendly units and yourself at the end, you could.

#showtooltip Remove Corruption
/cast [@party1,help,nodead][@focus,help,nodead][@none,help,nodead][@targettarget,help,nodead][help,nodead]Remove Corruption

That would cast on (in priority sequence): party1, a helpable focus, a helpable target not you, a helpable target of your target, any helpable target (including you).

Not sure where that sort of thing would be useful, but I try to stay out of that sort of discussion. :slight_smile:

So, I went and tried this variation (using the OP’s desire for party1 as the fallback):

#showtooltip
/cast [@none,help][@party1,help]Regrowth

While it would cast on my party1 when I was self targeting, it would not cast on a target if I had one either. (It just always was casting on party1.) It was effectively the same thing as using:

#showtooltip
/cast [@party1,help]Regrowth

So, it doesn’t solve the OPs problem of wanting it to first cast on a target if valid, and then party 1.

Well, bugger.

I was using an NPC for my test. Maybe it’s different with people?

That toon has nothing - I literally stripped him down to his short and curlies when I retired him so getting him in shape to actually play and test this is a bit problematic.

Hmmmm.

Well, I thought I had it. I guess I don’t. Sorry.

My commentary on the unit names is still valid, though.

There’s some just awful verbiage on the Wikis that gets very confusing and it didn’t help at all that the pre @<unit> convention was “target=” for the macro API.

I try to word my answers to spell targeting questions in terms of units rather than targets as there is only one target unit.

I’d personally do targettarget if you’re targeting an enemy (so you’re healing who they’re beating on) instead of party1.

#showtooltip
/cast [@mouseover,help,nodead] [help] [@targettarget,help,nodead] [@none] Binding Heal
/stopspelltarget

/stopspelltarget cancels the hand if you accidentally target/mouseover yourself or if you reach the @none fallback.

Unfortunately you’re right with the conditionals, I concluded there aren’t any macro conditionals that will Target ‘X’ target but not myself that I could find otherwise i would of made the macro already unfortunately ;(.

I am just looking for this type of specific macro and conditions only and its too bad you can’t do it. thanks everyone for their help