I must admit to not understanding the WoW scripting much (mostly because I never really looked at it) but if I'm not mistaken I have effectively used assist on mobs. In fact I'm pretty sure by pressing assist multiple times I can string together "assist chains" depending on targetting.
An example is if a party member is whacking on a mob (presumably in an assist situation) and the mob is not whacking on that party member. If you target that member and hit /assist it will switch your target to that mob. I believe, iirc, that if you then press assist again it will change your target to that (other) party member that the mob itself is targetting. It seems to me like this funcionality, if accessible somewhere, could be used for the desired purpose. It's just a matter of if the client can easily extract a mob's current target and if you can efficiently scan mob targets to determine if they might be attacking your priest (or other specific party member).
Not sure how long it would take in game time to cycle through all mobs in range and check each of their targets, stopping at the first one (or some other designated termination point) that is targetting the party member that you are targetting...
Edit: I just realized the algorithm I wrote here is pretty much the same thing that vor_lord wrote in the above post. I do think that you can call assist on an enemy though which was why I originally replied. You just have to find out how to access that information.
- mjdoom
An example is if a party member is whacking on a mob (presumably in an assist situation) and the mob is not whacking on that party member. If you target that member and hit /assist it will switch your target to that mob. I believe, iirc, that if you then press assist again it will change your target to that (other) party member that the mob itself is targetting. It seems to me like this funcionality, if accessible somewhere, could be used for the desired purpose. It's just a matter of if the client can easily extract a mob's current target and if you can efficiently scan mob targets to determine if they might be attacking your priest (or other specific party member).
Not sure how long it would take in game time to cycle through all mobs in range and check each of their targets, stopping at the first one (or some other designated termination point) that is targetting the party member that you are targetting...
Edit: I just realized the algorithm I wrote here is pretty much the same thing that vor_lord wrote in the above post. I do think that you can call assist on an enemy though which was why I originally replied. You just have to find out how to access that information.
- mjdoom
Stormrage:
Flyndar (60) - Dwarf Priest - Tailoring (300), Enchanting (300)
Minimagi (60) - Gnome Mage - Herbalism (300), Engineering (301)
Galreth (60) - Human Warrior - Blacksmithing (300), Alchemy (300); Critical Mass by name, Lurker in spirit
ArynWindborn (19) - Human Paladin - Mining/Engineering (121)
Flyndar (60) - Dwarf Priest - Tailoring (300), Enchanting (300)
Minimagi (60) - Gnome Mage - Herbalism (300), Engineering (301)
Galreth (60) - Human Warrior - Blacksmithing (300), Alchemy (300); Critical Mass by name, Lurker in spirit
ArynWindborn (19) - Human Paladin - Mining/Engineering (121)