[wesnoth-commits] [wesnoth/wesnoth] 4fd17e: AI: allow list of ids for leader_ignores_keep aspect
mattsc
noreply at github.com
Thu Jan 2 00:48:00 UTC 2020
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 4fd17e92cdac380bda25e6deac5dcef3fafad200
https://github.com/wesnoth/wesnoth/commit/4fd17e92cdac380bda25e6deac5dcef3fafad200
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-12-30 (Mon, 30 Dec 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: 16ede103ab4bbda57b16633cf00f3615bc0c14c9
https://github.com/wesnoth/wesnoth/commit/16ede103ab4bbda57b16633cf00f3615bc0c14c9
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-12-30 (Mon, 30 Dec 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: c81ecca23b4fccd368697cda804416d8cb33cf77
https://github.com/wesnoth/wesnoth/commit/c81ecca23b4fccd368697cda804416d8cb33cf77
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-12-30 (Mon, 30 Dec 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: 96faf5b54d981fc2de27ce3c5f36ee72c8156c5b
https://github.com/wesnoth/wesnoth/commit/96faf5b54d981fc2de27ce3c5f36ee72c8156c5b
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-12-30 (Mon, 30 Dec 2019)
Changed paths:
M src/ai/contexts.cpp
M src/ai/default/ca.cpp
Log Message:
-----------
AI: fix passive_leader_shares_keep usage
Commit: 926662216a29fee2af4d76476556c44b111c93be
https://github.com/wesnoth/wesnoth/commit/926662216a29fee2af4d76476556c44b111c93be
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-12-30 (Mon, 30 Dec 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.
Commit: ec7acef7e075fd9540fb76b5f2f0d5559fbee195
https://github.com/wesnoth/wesnoth/commit/ec7acef7e075fd9540fb76b5f2f0d5559fbee195
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-12-30 (Mon, 30 Dec 2019)
Changed paths:
M src/ai/lua/lua_object.hpp
Log Message:
-----------
AI: fix string list aspect handling in Lua
Commit: 34e3c9103f4089de0a8c9b4c7b3e0d30baee3be3
https://github.com/wesnoth/wesnoth/commit/34e3c9103f4089de0a8c9b4c7b3e0d30baee3be3
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-12-31 (Tue, 31 Dec 2019)
Changed paths:
M data/ai/lua/ai_helper.lua
M src/ai/composite/value_translator.hpp
M src/ai/contexts.cpp
M src/ai/contexts.hpp
M src/ai/formula/ai.cpp
M src/ai/lua/core.cpp
M src/ai/lua/lua_object.hpp
M src/ai/manager.cpp
M src/ai/registry.cpp
Log Message:
-----------
AI: convert leader related aspects to variants
Commit: ed3b382c5f8f25c6e4425d35ad93e083f1476634
https://github.com/wesnoth/wesnoth/commit/ed3b382c5f8f25c6e4425d35ad93e083f1476634
Author: mattsc <mattsc000 at gmail.com>
Date: 2019-12-31 (Tue, 31 Dec 2019)
Changed paths:
M src/ai/composite/value_translator.hpp
M src/ai/manager.cpp
Log Message:
-----------
Inspector: display AI boolean parameters as yes/no
Commit: a7aa08c90ada1efb36296f7dd819fc89a4db72e2
https://github.com/wesnoth/wesnoth/commit/a7aa08c90ada1efb36296f7dd819fc89a4db72e2
Author: mattsc <mattsc000 at gmail.com>
Date: 2020-01-01 (Wed, 01 Jan 2020)
Changed paths:
M data/ai/lua/ai_helper.lua
M data/ai/lua/ca_castle_switch.lua
M data/ai/lua/ca_high_xp_attack.lua
M data/ai/lua/ca_recruit_rushers.lua
M data/ai/lua/generic_recruit_engine.lua
M src/ai/actions.cpp
M src/ai/actions.hpp
M src/ai/composite/value_translator.hpp
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/default/ca_move_to_targets.cpp
M src/ai/formula/ai.cpp
M src/ai/lua/core.cpp
M src/ai/lua/lua_object.hpp
M src/ai/manager.cpp
M src/ai/registry.cpp
Log Message:
-----------
Merge pull request #4588 from mattsc/various_ai_features
Implement various AI feature requests and fixes
Compare: https://github.com/wesnoth/wesnoth/compare/8629fd135573...a7aa08c90ada
More information about the Commits
mailing list