I’m wondering how enemy AI decide to dodge, block or other defensive move from players melee attack in game.
I just guessed simply that AI detects players attack movement and choose defensive movement.
How does enemy AI choose that movement?
I also wonder how to adjust AI’s dodge or block skillfulness. What is general method for this in common game?