
1) use ai unit advancement asepect also during [event]s fixes #4605 previously advancements of ai units invoked by [event]s for example by unstoring a unit with enough xp would always do a purely random advancement even if it happend during the ais own turn. Now the advancemt_aspect is considered. I don't really know how the code inside ai/ works so i just took the easiert way to get a advancements_aspect from the manager. In particular this leaves a TODO comment about whether the advancemnts_aspect of advance_unit_at (and thus of attack_and_advance) can not be removed or not because i don't know whether the advancement aspect is effectively a singleton (per side) or not. 2) support amlas in ai units_advancement_aspect
About
The Battle for Wesnoth is an Open Source, turn-based tactical strategy game with a high fantasy theme, featuring both singleplayer and online/hotseat multiplayer combat. Fight a desperate battle to reclaim the throne of Wesnoth, or take hand in any number of other adventures.
License
Please see the wiki for information regarding The Battle for Wesnoth's licensing:
https://wiki.wesnoth.org/Wesnoth:Copyrights
Installing
See INSTALL.md for instructions on how to build the game from source code.
More Information
For extensive documentation about all aspects of the game, see the official Battle for Wesnoth web site.
A (translated) description of how to play the game can be found in doc/manual/manual.*.html, or online at:
https://wiki.wesnoth.org/WesnothManual
The official Battle for Wesnoth Forums (with over 400,000 posts from more than 20,000 registered members) can be found at: