
The old code tried to send a retreating ship in a direct line, away from the target, when within 500 meter. This never happened as we all know from experience, but with the fix the retreating ships did fly that path. This was also what I remembered from Elite: when flying close behind an other ship you just could kill him because it kept just flying in a straight line. It felt wrong to me, so I changed a bit at the jink code to also work at close range to keep the old evading behaviour at close range.
After doing many dogfights this weekend, I have the feeling that no player will notice a big difference with the old situation. And that is good, as I never had the intention to make things more difficult during dogfight. But, every ship reacts different. e.g. with a hydra you still can kill him easy when you manage to get behind him. And the much more agile Basilisk is still hard to hit from behind because it kept moving away from my fire. I would appreciate if other trunk users also watch dogfights a bit more closely than usual and report if I changed behaviour somewhere to much. (It are really only the behaviour_fly_from_target and behaviour_flee that have changed a bit. Any other change you might see is just illusion)
What I did intended to change, is giving 75% of the fleeing ships a much higher jink-factor. That change of fleeing is now clearly visible and would not have worked without the previous bug-fix.
EDIT: And I added a FRUSTRATION message to the perform_flee that fires after accumulating 15 seconds of not being able to increase the distance to its opponent. Internally it is now used to generate a new jink value, but a custom AI might use this FRUSTRATION message to evaluate if it should switch tactics.