- Joined
- Jul 13, 2009
- Messages
- 9
- Reaction score
- 0
- Points
- 0
I have another request related to mercs.
I am using a macro to auto-run my toon with a healer merc. The problem I run into is sometimes I will get a repop that aggros on the merc instead of the main. Naturally the merc dies because the dumbass won't fight back and then my main eventually dies without the heals.
I wrote my macro from scratch so I do know the basics, but I need to detect the situation described above so my main can grab aggro. Naturally, I can periodically target the merc and respond if the merc is ever below a set health percentage, but that seems clunky from a coding perspective. Events seem to be out of the question unless I manually code the name of the merc into an event: Merc1 has been hit by a... (actually that's better than the first way I mentioned). But still, the macro would break if I ever changed mercs. Still clunky.
Any suggestions on a plugin or a better coding approach to my problem?
I am using a macro to auto-run my toon with a healer merc. The problem I run into is sometimes I will get a repop that aggros on the merc instead of the main. Naturally the merc dies because the dumbass won't fight back and then my main eventually dies without the heals.
I wrote my macro from scratch so I do know the basics, but I need to detect the situation described above so my main can grab aggro. Naturally, I can periodically target the merc and respond if the merc is ever below a set health percentage, but that seems clunky from a coding perspective. Events seem to be out of the question unless I manually code the name of the merc into an event: Merc1 has been hit by a... (actually that's better than the first way I mentioned). But still, the macro would break if I ever changed mercs. Still clunky.
Any suggestions on a plugin or a better coding approach to my problem?
Last edited: