mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 15:13:36 +00:00

Because the attack simulation during CA evaluation is done with enemy XP set to zero, the AI previously sometimes chose a different weapon during execution than what was used for evaluation. This resulted, for example, in archers sometimes attacking an enemy without ranged attacks with their melee attack when aggression=1.