[Commits] [wesnoth/wesnoth] 8f0980: battle_calcs: provide default value for resistance...

GitHub noreply at github.com
Mon Jun 16 02:36:10 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8f0980c58f12afeadf43388dea8aab75e8b2f37b
      https://github.com/wesnoth/wesnoth/commit/8f0980c58f12afeadf43388dea8aab75e8b2f37b
  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