[Commits] [wesnoth/wesnoth] b00e6d: ai_helper.LS_to_triples: fix function name

GitHub noreply at github.com
Wed Oct 5 00:17:22 UTC 2016


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

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

  Log Message:
  -----------
  ai_helper.LS_to_triples: fix function name

For consistency with LS_of_triples.


  Commit: e38dd8ff16c02dfe909612896b8bed7435d84eb8
      https://github.com/wesnoth/wesnoth/commit/e38dd8ff16c02dfe909612896b8bed7435d84eb8
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-10-04 (Tue, 04 Oct 2016)

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

  Log Message:
  -----------
  ai_helper: new utility functions to find attackable enemies

Attackable enemies are defined as visible (can’t attack it if I can’t
see it) and not petrified.

This is in preparation for making the Micro AIs deal correctly with
hidden and petrified enemies.


Compare: https://github.com/wesnoth/wesnoth/compare/7ad4ba4083d5...e38dd8ff16c0


More information about the Commits mailing list