[Commits] [wesnoth/wesnoth] 3d0c29: Experimental AI: do not let AI try to recruit on f...

GitHub noreply at github.com
Sun Sep 25 02:17:45 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3d0c29b7fc3f7f2d544ecc247cb58c9f8cfcbe7c
      https://github.com/wesnoth/wesnoth/commit/3d0c29b7fc3f7f2d544ecc247cb58c9f8cfcbe7c
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-09-24 (Sat, 24 Sep 2016)

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

  Log Message:
  -----------
  Experimental AI: do not let AI try to recruit on fogged/shrouded hexes

The engine will refuse to recruit on shrouded hexes, which will result
in part or all of the rest of the AI actions to be disabled.  Fogged
hexes may cause problems also if there is an enemy unit on them.

This fixes at least part of bug #25112.





More information about the Commits mailing list