Making AI run away from Player

yep this

jep, that solution is flawed since it modifies the navigatable location without checking if the resulting location is navigatable aswell