When the player gets inside a settlement/castle, the enemy units just stay in their formation and don't try to move towards the player to attack him.
As a result, this leads to the fact that the player can shoot them in the head with impunity, standing two meters behind them. Or also kill if...