[Commits] [wesnoth/wesnoth] 25e101: Lua AIs: fix bug occurring when number= in an atta...

GitHub noreply at github.com
Wed May 20 02:54:56 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 25e10121f5d7c5c78b98d87f1d6ee85a56be8df3
      https://github.com/wesnoth/wesnoth/commit/25e10121f5d7c5c78b98d87f1d6ee85a56be8df3
  Author: mattsc <mattsc at Matthias-Schoecks-MacBook-Pro.local>
  Date:   2015-05-19 (Tue, 19 May 2015)

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

  Log Message:
  -----------
  Lua AIs: fix bug occurring when number= in an attack is set to zero

Apparently, when this is the case, the number key is not included at
all, rather than set to zero, when the Lua table containing the attack
information is retrieved.





More information about the Commits mailing list