[Commits] [wesnoth/wesnoth] 9e8ee0: battle_calcs: provide default value for resistance...

GitHub noreply at github.com
Mon Jun 16 02:34:29 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9e8ee00ad01431297472551daee712290109b0b1
      https://github.com/wesnoth/wesnoth/commit/9e8ee00ad01431297472551daee712290109b0b1
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-06-15 (Sun, 15 Jun 2014)

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

  Log Message:
  -----------
  battle_calcs: provide default value for resistance modifiers

This is done for cases when the value cannot be read from the unit_info
table, which might happen in some UMC.  This fixes a rare bug affecting
the Fast Micro AI attack evaluation





More information about the Commits mailing list