Auto-translated
This is hardly a bug. It’s a feature of the AI’s behavior in combat, where the value of the unit being targeted is very low for an attack, and the AI prioritizes reaching a more valuable unit within 2 turns, rather than attacking the current target and delaying the attack for 3 turns. It is known that the AI chooses its attack target at the very beginning of the turn, and if that unit does not change its position or die, the AI will move towards that target. Changing the weight or defense could influence this, as in the case of defense, the target’s protection increases, and in the case of weight, the order may change, and the AI recalculates its targets. When I read about the AI’s combat principles in King's Bounty (Armored Princess), many of those points, as it seems to me, also exist in Heroes 3, at least they are very strongly correlated.