A_Rogue00:
I gave your request/idea some thought and I'm in a pickle as to how to solve that problem. It's technically very easy to detect a gating target, the problem is how to change RH's behavior when your target actually gates. You see, if you turn off attack, your rogue will certainly stop autosticking the target (but you will RESUME if your main assist doesn't target something else in under a second, which is not likely to happen) so that doesn't help much. I could force it to have you untarget the mob (but this won't help much since you'll reassist the tank shortly and reacquire the same gated target likely). Neither of these solutions work, they only postpone you actually charging off like a dumbass into a wall.
The only thing that's really comprehensive (and it's a controversial patch, so I won't include it in the main file) is to have autostick NOT STICK to a mob that's more than X feet away from you (say 500 feet). In other words, if something runs too far away, force autostick to "give up" trying to stick to it. This could be due to a target gating, or if it's fleeing and has a much higher run speed than the rogue.
To activate this optional change, find the following autostick code:
Code: Select all
|- Are we suposed to stick to a target? (Don't if we're tanking!)
/if ((${Me.Combat} || ${strikeReady}) && ${Target.ID} && ${doStick} && ${Target.Type.Equal[NPC]} && !${aggrotimer.Value} && !${Me.TargetOfTarget.Name.Equal[${Me}]}) {
and replace it with this...
Code: Select all
|- Are we suposed to stick to a target? (Don't if we're tanking!)
/if ((${Me.Combat} || ${strikeReady}) && ${Target.ID} && ${doStick} && ${Target.Type.Equal[NPC]} && !${aggrotimer.Value} && !${Me.TargetOfTarget.Name.Equal[${Me}]} && (${Target.Distance}<500)) {
With this change, if a mob gates (and winds up more than 500 feet from your location) or runs too far away, autostick won't pursue it. Again, I won't put this in the baseline as it's not necessarily globally desirable, but it may be nice for some users. Feel free to change the 500 to a smaller number if you like--I just pulled that one out of the air... I imagine 200 to 500 is about right.