Skip to Main Content
This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
12.1.7
PTR
12.1.5
Macro that casts at target if no mouseover.
Post Reply
Return to board index
Post by
148607
This post was from a user who has deleted their account.
Post by
Teddiursa
It took me awhile to figure this out when I first started healing, and I've had this macro saved ever since and I use it on just about every friendly spell on every character. Can't imagine healing without it.
#showtooltip Lifebloom
/cast Lifebloom
Post by
148607
This post was from a user who has deleted their account.
Post by
Ketho
#showtooltip
/cast ?
Post by
pelf
What does the separate conditional do?
In each conditional block, if you don't specify
@
(or
target=
, which
@
is an alias for), it defaults to the unit
target
, which is whatever you have targeted. So,
is the same as
or
.
I would guess that the @targettarget casts the spell at the bosses target and the last would target the nearest player if none of the other conditionals were active?
targettarget
is specifically the target of your target. So, if you have a DPS targeted, it's whatever they're targeting. If you have a tank targeted, it's what they're tanking. If you have the boss targeted, it's whatever it has aggro on (hopefully the tank).
player
is you, always you. You see it in these macros as a "default" thing to do. If none of the other conditions pass, then the spell heals you.
I use a variant of this without the targettarget part. I'd rather just target what I want to heal.
#showtooltip Heal
/cast Heal
Also,
help
and
harm
imply exists, so it's redundant to specify them both together. Also,
nodead
is useful so you don't try to heal dead things.
Again thanks I'm just trying to figure out the programing syntax so I can come up with my own. :)
No problem. Good questions always get good answers.
Post by
152276
This post was from a user who has deleted their account.
Post by
DONalex
Thanks god for this post it was a life savior:D
Post by
Photek
9 years later, still helpful. Thanks :)
Post by
Frood4
you're still a hero
Post by
hircine86
11.5 years later... still works!
OP has earned achievement legendary hero title...
godhood next?
You will attain godhood status soon I'd imagine. :)
Post by
Warshov
#showtooltip SPELLNAME
/cast SPELLNAME
/cast SPELLNAME
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.