[wesnoth-commits] [wesnoth/wesnoth] e5eb2c: Fast Micro AI: fix re-adding default CAs when dele...

mattsc noreply at github.com
Mon Dec 16 15:33:00 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e5eb2cc11e943f53e3a1de1d8b9b604337252e35
      https://github.com/wesnoth/wesnoth/commit/e5eb2cc11e943f53e3a1de1d8b9b604337252e35
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M data/ai/micro_ais/mai-defs/fast.lua

  Log Message:
  -----------
  Fast Micro AI: fix re-adding default CAs when deleting the MAI

The high_xp_attack CA is deleted when adding the Fast MAI, but not added back in when deleting the MAI.


  Commit: bf6b66a789082ba7efa859152313b8970f057dc0
      https://github.com/wesnoth/wesnoth/commit/bf6b66a789082ba7efa859152313b8970f057dc0
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

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

  Log Message:
  -----------
  battle_calcs.lua: fix bug in relative_damage_map()


  Commit: f528188c67c16f8bc44c1f5889bd59221c3d1ca6
      https://github.com/wesnoth/wesnoth/commit/f528188c67c16f8bc44c1f5889bd59221c3d1ca6
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

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

  Log Message:
  -----------
  Experimental AI castle switch: bug fix for units on keep check

This also fixes the score assignment, with the 'break' being in the wrong part of the conditional.


Compare: https://github.com/wesnoth/wesnoth/compare/a5ea57932983...f528188c67c1



More information about the Commits mailing list