[Commits] [wesnoth/wesnoth] b8608b: Fast MAI: bug fix for leaderless AI sides

GitHub noreply at github.com
Thu Feb 12 20:18:56 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b8608b199f38340a801fa459f7759915cedc42ef
      https://github.com/wesnoth/wesnoth/commit/b8608b199f38340a801fa459f7759915cedc42ef
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

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

  Log Message:
  -----------
  Fast MAI: bug fix for leaderless AI sides

Leaderless AI sides cannot capture villages, thus villages should not
be set as goals.


  Commit: b7907127ae8ef7582da3309ea0551798bd308a74
      https://github.com/wesnoth/wesnoth/commit/b7907127ae8ef7582da3309ea0551798bd308a74
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

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

  Log Message:
  -----------
  Fast MAI: bug fix for scenarios when there is no enemy leader (for the AI)

In this case, it can happen that there are no goals (e.g. if there are
also no villages or if the AI has no leader). Previously, this
situation caused an error message.


  Commit: 448e300763b4cc9930542544334a62266d47f770
      https://github.com/wesnoth/wesnoth/commit/448e300763b4cc9930542544334a62266d47f770
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

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

  Log Message:
  -----------
  Fast MAI: bug fix for error when attacker runs into ambush

If the move of the attacker toward the target is interrupted by an
ambush, the attack action previously caused an error, because the
attacker did  not get to its target.


Compare: https://github.com/wesnoth/wesnoth/compare/c1e95bcf149d...448e300763b4


More information about the Commits mailing list