This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.7
PTR
10.2.6
Beta
Macro ?: If me then spell A, if friend then spell B
Post Reply
Return to board index
Post by
117913
This post was from a user who has deleted their account.
Post by
Wildhorn
You could read my guide and learn by yourself how to make a macro...
But here is the solution, all cooked and pre-eaten for you:
#showtooltip
/cast Greater Heal; Desperate Prayer
Post by
RedwoodElf
Technically, thats not what he asked for. He wanted to cast DP if he was targetting himself, not if he wasn't targetting a party member. If he's targetting himself, it will use Greater heal on himself.
Would target=<player name> work? haven't tried it...if it did work, you would have to put it first, since evaluates true on yourself.
Post by
Wildhorn
Oh hum, yeah i missread that (damn im tired to be sick, my mind is all confuzled!)
But anyway, there is no other way to do it without a modifier. target=<player name> is the same as target=player.
I have no idea if the following could work (cant test, im not at home), but it worth a try:
#showtooltip
/cast Greater Heal; Desperate Prayer
Post by
Kikt
Wildhorn you're getting the "player" condition confused... player refers to yourself, the player. Not any friendly player. (>.<)
the first macro should work perfectly
Post by
Spitz
Here's of couple that I use on my priest.
Mana burn if hostile, otherwise Binding Heal:
#showtooltip
/cast Mana Burn; Binding Heal
Smite if hostile, otherwise PI:
#showtooltip
/cast Smite; Power Infusion
Holy Fire if hostile, otherwise PS:
#showtooltip
/cast Holy Fire; Pain Suppression
Edit: Just realised I didn't read the initial post well enough.. Maybe useful to someone else? :)
Post by
Wanderingfox
Technically, thats not what he asked for. He wanted to cast DP if he was targetting himself, not if he wasn't targetting a party member. If he's targetting himself, it will use Greater heal on himself.
Would target=<player name> work? haven't tried it...if it did work, you would have to put it first, since evaluates true on yourself.
no... target= ASSIGNS a target for the spell, it is not a conditional.
Post by
Wildhorn
Wildhorn you're getting the "player" condition confused... player refers to yourself, the player. Not any friendly player. (>.<)
the first macro should work perfectly
I am not confusing them and no, first macro wont do what OP asked for :P
First macro will cast Greater Heal if you target yourself, which is not what is wanted
For seconds macro: notarget=player, if it was a valid thing, means if you are not targeting yourself, but like Wanderingfox said, it is not a condtional, it only serve to assign a target.
It made me giggle, thanks, that someone tell me I confused macro stuff while I wrote a complete guide about it lol :)
Post by
260392
This post was from a user who has deleted their account.
Post by
Wildhorn
Not as easy, need 2 key press instead of one and you either need to leave W key or get an awkward hand position, leaving pretty much all your other keys.
Not as fast, require 2 key press and communication with the server instead of one
:P
Post by
260392
This post was from a user who has deleted their account.
Post by
Wildhorn
Dont use terms I need to google >_<
pedantic: A pedant is a person who is overly concerned with formalism and precision, or who 'makes a show of learning'.
I love it :D
Post by
pelf
It made me giggle, thanks, that someone tell me I confused macro stuff while I wrote a complete guide about it lol :)
Well, to be fair, you just suggested the use of the negation of the target conditional as a check condition rather than a redirect condition. The negated version and the affirmative version wouldn't do different things. I'll be glad when @ is available in a week.
Dont use terms I need to google >_<
pedantic: A pedant is a person who is overly concerned with formalism and precision, or who 'makes a show of learning'.
I love it :D
Yeah, you know you like it. To get a soupçon of revenge, use French words in various posts and make
us
google them :).
Post by
117913
This post was from a user who has deleted their account.
Post by
388951
This post was from a user who has deleted their account.
Post by
Wanderingfox
player is not a valid conditional. The only target conditionals are help, harm, dead, and exists. At least, those are the only ones I'm aware of.
Post by
RedwoodElf
what about group and raid?
Post by
pelf
The target conditionals are
party
and
raid
. But yeah, those. I still am not sure of a good situation where I'd write a macro using them, though.
group:party
and
group:raid
or
group
implying
group:party
seem to be much more useful -- asking if
player
is in one of those rather than your macro's target.
Post by
ignis86
while it is NOT what he wanted... why not use
/cast Greater heal(); Desperate prayer()
left click casts greater heal on his target... right desperate prayer on himself. no target change needed
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.