Druid macros

Cube
Posts: 2551

Re: Druid macros

Post by Cube »

@goddess

#showtooltip
/cast [target=mouseover,exists]Remove Lesser Curse
/cast [target=player]Remove Lesser Curse

That's my decurse macro. What it does is basically what you're asking for. If I have a mouseover target, it'll try to decurse it, and if not, it'll try to decurse me. Try to use that as a base, and find a solution for the message.
Balls, Cube, Deems, Google [Bot]
Fullcsjkbad
Posts: 49

Re: Druid macros

Post by Fullcsjkbad »

@goddess

#showtooltip
/cast [target=mouseover,exists]Remove Lesser Curse
/cast [target=player]Remove Lesser Curse

That's my decurse macro. What it does is basically what you're asking for. If I have a mouseover target, it'll try to decurse it, and if not, it'll try to decurse me. Try to use that as a base, and find a solution for the message.
goddess
Posts: 20

Re: Druid macros

Post by goddess »

Yeah, the main issue I was encountering was with the /stopmacro function. I cannot find the proper condition for not having a target (the beginning of the macro causes my mouseover to become my target) to stop the macro =\
User avatar
Apuclevercow
Posts: 1349

Re: Druid macros

Post by Apuclevercow »

@goddess You were not far from it! You made a typo on noexists.
Although I added the harm condition on the stopmacro not to whisper an enemy if he's your mouseover/target.
I changed the GetUnitName for the message from playertarget to mouseover, so it'll not whisper you if you target yourself. The only case it'll whisper you is if you mouseover yourself (from the group/raid frame).
I'm not sure it works the way you want, so tell me if something is missing, I may have misunderstood.

[h]Innervate[/h]
#showtooltip
/target mouseover
/cast [exists,help][target=player] Innervate
/stopmacro [noexists][harm]
/run SendChatMessage("You've been INNERVATED!", "whisper", nil, GetUnitName("mouseover"))
/targetlasttarget
ah
Cube
Posts: 2551

Re: Druid macros

Post by Cube »

I just don't see the point to actually switch your target to your mouseover... I mean, the whole point of a mouseover macro is to spare you from switching targets. If you're gonna switch targets, you might as well just actually switch targets, since it'll be basically the same thing as you're going after now.
Balls, Cube, Deems, Google [Bot]
Fullcsjkbad
Posts: 49

Re: Druid macros

Post by Fullcsjkbad »

I just don't see the point to actually switch your target to your mouseover... I mean, the whole point of a mouseover macro is to spare you from switching targets. If you're gonna switch targets, you might as well just actually switch targets, since it'll be basically the same thing as you're going after now.
User avatar
Apuclevercow
Posts: 1349

Re: Druid macros

Post by Apuclevercow »

It's very simple.
If it was just about a mouseover or target or player order, we could do the following:
/cast [target=mouseover,exists,help][exists,help][target=player] Innervate
And it would be ok for the macro.

But the noexists condition on the /stopmacro means that it'll stop the macro if you've got no target, even if your mouseover points to someone. That's why targetting the mouseover is necessary here.
Not sure if I was clear enough.
ah
Cube
Posts: 2551

Re: Druid macros

Post by Cube »

I understand that well enough. You don't seem to follow me though. I'm not talking about the mechanical aspect of the macro, but about the necessity to have a macro like this in the first place.
Balls, Cube, Deems, Google [Bot]
Fullcsjkbad
Posts: 49

Re: Druid macros

Post by Fullcsjkbad »

I understand that well enough. You don't seem to follow me though. I'm not talking about the mechanical aspect of the macro, but about the necessity to have a macro like this in the first place.
goddess
Posts: 20

Re: Druid macros

Post by goddess »

Ty Apuclevercow! The macro works perfectly! I believe, I haven't quite tested it out completely.. But I did switch the whisper back to target, that way if I I'm not casting it on my mouseover, it will still whisper my target. Yeah It does whisper me on occasion, but not too often since I'm feral mostly :D

I really appreciate your macro help.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest