[wesnoth-commits] [wesnoth/wesnoth] ea4657: Goto Micro AI: add remove_movement option

mattsc noreply at github.com
Wed Mar 3 20:50:57 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ea4657c6d4dc8db3885c59bcba5e5f3d79d24382
      https://github.com/wesnoth/wesnoth/commit/ea4657c6d4dc8db3885c59bcba5e5f3d79d24382
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M data/ai/micro_ais/cas/ca_goto.lua
    M data/ai/micro_ais/mai-defs/misc.lua

  Log Message:
  -----------
  Goto Micro AI: add remove_movement option

By default, the MAI removes movement points from units even when they cannot find a hex to move to.  When this option is set to 'no' (default is 'yes'), this step is skipped, so that other candidate actions can take over.

This implements feature request #5580





More information about the Commits mailing list