If IsEngaged() does what it sounds like I don't think that would be right. On live my pet doesn't attack what isn't also attacking me even if I'm engaged in combat with it.
As an example if I'm assisting the main tank and the mob never takes a swing at me my pet won't attack unless I tell it to. When I played an enchanter at low level I would nuke just to get the mob to take a swing at me so my pet would help out, then I'd back off.
Basicly I would need a hate list and my pet would have to monitor that hate list. Taking a swing at me would generate hate and my pet would respond. Things that memblur and feign death would have to wipe that hatelist.
Wish I knew C++ so I could help out. I wouldn't even know what files of the source I would need to look in to find this part of the code.
|