It's actually what I already do... for any action relative to player's move it works perfectly. But for the farm, it implies actions that generally keep the player static as long as the attack range is correct. The only way I have to detect this is spying the skills cooldowns and even this is a nonsense because of buff based skill or healing skills. Long story short I have currently no way to detect the player is really stuck during a fight, and this jump especially occurs when the player stay static for more than 2s during the fight.