[Commits] [wesnoth/wesnoth] acecd7: Lua AIs: use new syntax for iterating over attacks

GitHub noreply at github.com
Sat Oct 22 20:54:41 UTC 2016


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

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

  Log Message:
  -----------
  Lua AIs: use new syntax for iterating over attacks

This is both simpler and faster than the old syntax.





More information about the Commits mailing list