Druid macros
Re: Druid macros
@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.
#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]
-
- Posts: 49
Re: Druid macros
@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.
#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.
Re: Druid macros
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 =\
- Apuclevercow
- Posts: 1349
Re: Druid macros
@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
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
Re: Druid macros
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]
-
- Posts: 49
Re: Druid macros
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.
- Apuclevercow
- Posts: 1349
Re: Druid macros
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.
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
Re: Druid macros
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]
-
- Posts: 49
Re: Druid macros
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.
Re: Druid macros
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.
I really appreciate your macro help.
Who is online
Users browsing this forum: No registered users and 1 guest