[Commits] [wesnoth/wesnoth] 022d2c: ai_helper checked actions: some modifications to e...

GitHub noreply at github.com
Fri Oct 21 16:23:46 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 022d2cd725914cead8a70005564c477413c5a0e3
      https://github.com/wesnoth/wesnoth/commit/022d2cd725914cead8a70005564c477413c5a0e3
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/ai/lua/ai_helper.lua

  Log Message:
  -----------
  ai_helper checked actions: some modifications to error messages


  Commit: 204ccb058447128a74061cbe7425b67b0cd7fa50
      https://github.com/wesnoth/wesnoth/commit/204ccb058447128a74061cbe7425b67b0cd7fa50
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/ai/lua/ai_helper.lua

  Log Message:
  -----------
  ai_helper: move checks for incomplete/empty moves to functions


  Commit: 13d2cdfc299fcd7cb0d74d5c44a20037f532e64f
      https://github.com/wesnoth/wesnoth/commit/13d2cdfc299fcd7cb0d74d5c44a20037f532e64f
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/ai/lua/ai_helper.lua

  Log Message:
  -----------
  ai_helper checked actions: return action result to calling function


  Commit: 74792845d75ce172a103575e598403a952ba80f0
      https://github.com/wesnoth/wesnoth/commit/74792845d75ce172a103575e598403a952ba80f0
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/ai/lua/ai_helper.lua

  Log Message:
  -----------
  ai_helper.movefull_stopunit: return action result to calling function


  Commit: 348f64f4a01e4a39e88f3f6fec5f8f7149a3c58f
      https://github.com/wesnoth/wesnoth/commit/348f64f4a01e4a39e88f3f6fec5f8f7149a3c58f
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/ai/micro_ais/cas/ca_wolves_multipacks_wander.lua

  Log Message:
  -----------
  Multipack Wolves Micro AI: better recovery from ambushes etc.

This is not necessary for most other Micro AIs, but this AI moves
several units per execution. If an ambush or failed teleport or similar
happens, it is better to reconsider rather than pull through with the
previously planned moves.


  Commit: 67fd4367fd5de28aabfb9f43c6a21a4ebcfd73ba
      https://github.com/wesnoth/wesnoth/commit/67fd4367fd5de28aabfb9f43c6a21a4ebcfd73ba
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M data/ai/micro_ais/cas/ca_wolves_move.lua
    M data/ai/micro_ais/cas/ca_wolves_wander.lua

  Log Message:
  -----------
  Wolves Micro AI: better recovery from ambushes etc.

This is not necessary for most other Micro AIs, but this AI moves
several units per execution. If an ambush or failed teleport or similar
happens, it is better to reconsider rather than pull through with the
previously planned moves.


Compare: https://github.com/wesnoth/wesnoth/compare/7647a4ad4213...67fd4367fd5d


More information about the Commits mailing list