[wesnoth-commits] [wesnoth/wesnoth] 94ea1f: AI: allow list of ids for leader_ignores_keep aspect
mattsc
noreply at github.com
Sun Nov 24 23:54:31 UTC 2019
Branch: refs/heads/various_ai_features
Home: https://github.com/wesnoth/wesnoth
Commit: 94ea1fb5a2c13b97a1f5539a04572a0fdd2e1a54
https://github.com/wesnoth/wesnoth/commit/94ea1fb5a2c13b97a1f5539a04572a0fdd2e1a54
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-11-22 (Fri, 22 Nov 2019)
Changed paths:
M src/ai/contexts.cpp
M src/ai/contexts.hpp
M src/ai/default/ca.cpp
M src/ai/default/ca_move_to_targets.cpp
M src/ai/lua/core.cpp
M src/ai/registry.cpp
Log Message:
-----------
AI: allow list of ids for leader_ignores_keep aspect
In addition to 'yes' and 'no', comma separated lists of leader ids are now also accepted as values for this aspect. This allows setting the behavior only for specific leaders.
Commit: 73cabea923d7c3987610fd06e028df4fba61fbb7
https://github.com/wesnoth/wesnoth/commit/73cabea923d7c3987610fd06e028df4fba61fbb7
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-11-22 (Fri, 22 Nov 2019)
Changed paths:
M src/ai/actions.cpp
M src/ai/actions.hpp
Log Message:
-----------
AI: change E_NOT_REACHED_DESTINATION to warning
This is not always due to an AI error but can be caused, for example, by a WML event. It should therefore not be an error, but a warning.
This implements feature request #2344.
Commit: 0e685c9790f1322e79bfea332c9804d74ae3ac7c
https://github.com/wesnoth/wesnoth/commit/0e685c9790f1322e79bfea332c9804d74ae3ac7c
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-11-22 (Fri, 22 Nov 2019)
Changed paths:
M data/ai/lua/ca_high_xp_attack.lua
Log Message:
-----------
Experimental AI: do not target units without advancements in high_xp_attack CA
Commit: 416426ff0328c93c4f5ddef6cc3a50395dc0f1ec
https://github.com/wesnoth/wesnoth/commit/416426ff0328c93c4f5ddef6cc3a50395dc0f1ec
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-11-22 (Fri, 22 Nov 2019)
Changed paths:
M src/ai/contexts.cpp
M src/ai/default/ca.cpp
Log Message:
-----------
AI: fix passive_leader_shares_keep usage
Commit: 1d5c43078f5f4ac19de5061dc3b59bd8c3733d12
https://github.com/wesnoth/wesnoth/commit/1d5c43078f5f4ac19de5061dc3b59bd8c3733d12
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-11-23 (Sat, 23 Nov 2019)
Changed paths:
M data/ai/lua/ai_helper.lua
M data/ai/lua/ca_castle_switch.lua
M data/ai/lua/ca_recruit_rushers.lua
M data/ai/lua/generic_recruit_engine.lua
M src/ai/contexts.cpp
M src/ai/contexts.hpp
M src/ai/default/aspect_attacks.cpp
M src/ai/default/ca.cpp
M src/ai/lua/core.cpp
M src/ai/registry.cpp
Log Message:
-----------
AI: allow list of ids for two passive leader aspects
In addition to 'yes' and 'no', comma separated lists of leader ids are now also accepted as values for these aspects. This allows setting the behavior only for specific leaders.
Compare: https://github.com/wesnoth/wesnoth/compare/94ea1fb5a2c1%5E...1d5c43078f5f
More information about the Commits
mailing list