[Commits] [wesnoth/wesnoth] 359592: Bottleneck Micro AI: fix indenting

GitHub noreply at github.com
Thu Apr 2 15:18:51 UTC 2015


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 359592769f0dbfc59e37de8b41a806e892810f14
      https://github.com/wesnoth/wesnoth/commit/359592769f0dbfc59e37de8b41a806e892810f14
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-04-02 (Thu, 02 Apr 2015)

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

  Log Message:
  -----------
  Bottleneck Micro AI: fix indenting


  Commit: 775a0b04be814a988df91767ae7288a05ee5d435
      https://github.com/wesnoth/wesnoth/commit/775a0b04be814a988df91767ae7288a05ee5d435
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-04-02 (Thu, 02 Apr 2015)

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

  Log Message:
  -----------
  Bottleneck MAI: bug fix for when allied units are present

Hexes occupied by allied units were previously not excluded properly by
the AI, which could lead to error messages and the candidate action to
be blacklisted.


  Commit: 5ca881b0fb9f85d807e88b2c0652b0ad2af0e4ba
      https://github.com/wesnoth/wesnoth/commit/5ca881b0fb9f85d807e88b2c0652b0ad2af0e4ba
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-04-02 (Thu, 02 Apr 2015)

  Changed paths:
    A data/ai/micro_ais/cas/ca_herding_dog_stopmove.lua
    M data/ai/micro_ais/micro_ai_wml_tag.lua

  Log Message:
  -----------
  Herding Micro AI: bug fix for dogs sometimes having moves left at end

The problem is due to a dog adjacent to a sheep being excluded from the
dog_move CA (so that it can act further later on in case the sheep
moves again). It is fixed by adding another CA at the end that simply
takes all moves away from all dogs once all other CAs are done.


  Commit: 34d6e539c1c4bb76715391f99db7b8bf799cf157
      https://github.com/wesnoth/wesnoth/commit/34d6e539c1c4bb76715391f99db7b8bf799cf157
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-04-02 (Thu, 02 Apr 2015)

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

  Log Message:
  -----------
  Forest Animals MAI: bug fix, exclude border hexes for wander terrain

wesnoth.get_locations includes border hexes, so they need to be
excluded specifically. Previously this could cause error messages and
the CA to be blacklisted.


  Commit: 77b811402fa0f8814aee9635d63c9d306315c3f9
      https://github.com/wesnoth/wesnoth/commit/77b811402fa0f8814aee9635d63c9d306315c3f9
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-04-02 (Thu, 02 Apr 2015)

  Changed paths:
    M changelog

  Log Message:
  -----------
  Update changelog with Micro AI bug fixes


Compare: https://github.com/wesnoth/wesnoth/compare/29b95cae263e...77b811402fa0


More information about the Commits mailing list