[Commits] [wesnoth/wesnoth] 8d76ad: ai_helper: new function find_path_with_shroud()
GitHub
noreply at github.com
Sat Dec 10 03:00:33 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 8d76ad32b095fa3f4e8d89dac1031a5e7a5a8c8b
https://github.com/wesnoth/wesnoth/commit/8d76ad32b095fa3f4e8d89dac1031a5e7a5a8c8b
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M data/ai/lua/ai_helper.lua
Log Message:
-----------
ai_helper: new function find_path_with_shroud()
Commit: 36b2b4e9a727b92c064c12f041bae76891650a63
https://github.com/wesnoth/wesnoth/commit/36b2b4e9a727b92c064c12f041bae76891650a63
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M data/ai/lua/ai_helper.lua
M data/ai/lua/battle_calcs.lua
Log Message:
-----------
AI helper functions: consistently ignore shroud when path finding
This is the default Wesnoth AI behavior. It is done in a way that still
ignores hidden units.
Commit: 3236a4b0857a24d523767ee13f2fddb2c2395bf8
https://github.com/wesnoth/wesnoth/commit/3236a4b0857a24d523767ee13f2fddb2c2395bf8
Author: mattsc <mattsc000 at gmail.com>
Date: 2016-12-09 (Fri, 09 Dec 2016)
Changed paths:
M data/ai/micro_ais/cas/ca_assassin_move.lua
M data/ai/micro_ais/cas/ca_bottleneck_move.lua
M data/ai/micro_ais/cas/ca_fast_move.lua
M data/ai/micro_ais/cas/ca_forest_animals_new_rabbit.lua
M data/ai/micro_ais/cas/ca_goto.lua
M data/ai/micro_ais/cas/ca_messenger_attack.lua
M data/ai/micro_ais/cas/ca_messenger_move.lua
M data/ai/micro_ais/cas/ca_protect_unit_finish.lua
Log Message:
-----------
Micro AIs: fix some MAIs not working under shroud
This is done by ignoring shroud for path finding (while still taking
hidden units into account correctly), consistent with default Wesnoth
AI behavior.
Compare: https://github.com/wesnoth/wesnoth/compare/77777666de97...3236a4b0857a
More information about the Commits
mailing list