[Commits] [wesnoth/wesnoth] 371b9b: Lua AI helper functions: remove attacks/moves on f...

GitHub noreply at github.com
Sun Oct 2 16:14:01 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 371b9b67ec51bae17ebedba44d6906983fc49915
      https://github.com/wesnoth/wesnoth/commit/371b9b67ec51bae17ebedba44d6906983fc49915
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

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

  Log Message:
  -----------
  Lua AI helper functions: remove attacks/moves on failed action

If this is not done, there are some rare cases in which a Lua AI might
get caught in an infinite loop by trying the same failed action over
and over again.


  Commit: 52826a3824ecbe32e8a59a0b095afecb8ce8d25a
      https://github.com/wesnoth/wesnoth/commit/52826a3824ecbe32e8a59a0b095afecb8ce8d25a
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-02 (Sun, 02 Oct 2016)

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

  Log Message:
  -----------
  High XP attack CA: do not try to attack petrified enemies


Compare: https://github.com/wesnoth/wesnoth/compare/16331d6bb0fc...52826a3824ec


More information about the Commits mailing list