Ok, I do have some modified code that will allow hate list checks with an optional 'ignore_mezzed' argument.
It's a little different than my original approach..but, is probably a better solution.
Pets (all) will select a new target if their current one is mezzed..or will return to their owners side instead of standing there
gawking at a mezzed mob.
Unfortunately, I'm hitting the 'single mob on hatelist' problem atm and am looking into that. (Not sure if I can modify that
without actually finding it first...)
EDIT: I tested using pet:attack and was able to get a second mob added to the hate list. If the more hated mob is mezzed,
and then breaks, the pet will switch to the more hated one.
I think the auto-add problem is related to IsFocused() and/or other specialized code.
__________________
Uleat of Bertoxxulous
Compilin' Dirty
Last edited by Uleat; 05-20-2015 at 09:03 PM..
|