Here I'll give an example: the enemy is an archer, and when he sees me, he'll shoot arrows at me. too things will happen: 1. I'm a big strong slow target and he's been able to hit me and cause small damage; 2. I'm a fast target and he's having trouble hitting me. The combat AI should adjust the archer's behavior now. If 1, then he should keep distance and keep shooting me; if 2, then he should give up on shooting cuz he can't hit me, so he should charge up and engage me in melee.