[Commits] [wesnoth/wesnoth] 95616c: Bottleneck MAI: bug fix for when allied units are ...
GitHub
noreply at github.com
Thu Apr 2 15:22:43 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 95616c5af9dff3eb556c9f2f6571ba8d4fef5e48
https://github.com/wesnoth/wesnoth/commit/95616c5af9dff3eb556c9f2f6571ba8d4fef5e48
Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
Date: 2015-04-02 (Thu, 02 Apr 2015)
Changed paths:
M data/ai/micro_ais/cas/ca_bottleneck_move.lua
Log Message:
-----------
Bottleneck MAI: bug fix for when allied units are present
Hexes occupied by allied units were previously not excluded properly by
the AI, which could lead to error messages and the candidate action to
be blacklisted.
Commit: 38b089358ab03ec6df389de55a05206b3aca1ace
https://github.com/wesnoth/wesnoth/commit/38b089358ab03ec6df389de55a05206b3aca1ace
Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
Date: 2015-04-02 (Thu, 02 Apr 2015)
Changed paths:
A data/ai/micro_ais/cas/ca_herding_dog_stopmove.lua
M data/ai/micro_ais/micro_ai_wml_tag.lua
Log Message:
-----------
Herding Micro AI: bug fix for dogs sometimes having moves left at end
The problem is due to a dog adjacent to a sheep being excluded from the
dog_move CA (so that it can act further later on in case the sheep
moves again). It is fixed by adding another CA at the end that simply
takes all moves away from all dogs once all other CAs are done.
Commit: b657bbc862e6ef721c5c13f0da62acb303105a3f
https://github.com/wesnoth/wesnoth/commit/b657bbc862e6ef721c5c13f0da62acb303105a3f
Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
Date: 2015-04-02 (Thu, 02 Apr 2015)
Changed paths:
M data/ai/micro_ais/cas/ca_forest_animals_move.lua
Log Message:
-----------
Forest Animals MAI: bug fix, exclude border hexes for wander terrain
wesnoth.get_locations includes border hexes, so they need to be
excluded specifically. Previously this could cause error messages and
the CA to be blacklisted.
Compare: https://github.com/wesnoth/wesnoth/compare/1ea71c1a4d5e...b657bbc862e6
More information about the Commits
mailing list