What are the leash/reset rules here?
Like you said it’s really buggy/random, my favorite is also the one you mentioned who reset, heal, then come back to fight again but trust me it’s not only karka that do that.
Sometimes I think it’s class-based; if your character is squishy (elementalist, mesmer, necromancer) or range-based (ranger); or you attempt to use terrain in almost any fashion (but this isn’t consistent, either) to gain an advantage, the mob resets and regenerates.
However, I have seen mobs reset and regenerate when I haven’t pulled them even an inch from where the combat started, too; they’ll reset by just turning around, regenerate instantly, and then turn around to fight again.
Other times, if you keep hitting them as they return to the starting position, they won’t regenerate, although they will reset their AI…
If you use AoE attacks from a terrain position that gives you an advantage, it is apparently okay, but if you use a one-on-one attack from range, you’ll get a reset and regeneration or “Invulnerable” banners flying in your face.
I have had “Out of Range” and “Invulnerable” banners pop up when I’m standing right by the mob, only standing on a step on stairs one lower or one above the mob…
[WoW and LotRO used to have the same problem; it is a result of the algorithmic shortcuts used to calculate distance between players and mobs, packaged in the libraries developers buy.]
So, no, thee’s no discernible pattern, likely because different people wrote the AI scripts, acting independently and without subsequent review for consistency.