[Commits] [wesnoth/wesnoth] 6950ee: New high_xp_attack candidate action for default AI

GitHub noreply at github.com
Sun Sep 4 14:02:41 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6950ee1dd08a429394f7b0c38340f298c344d57f
      https://github.com/wesnoth/wesnoth/commit/6950ee1dd08a429394f7b0c38340f298c344d57f
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-09-02 (Fri, 02 Sep 2016)

  Changed paths:
    M changelog
    M data/ai/ais/ai_default_rca.cfg
    A data/ai/lua/ca_high_xp_attack.lua
    A data/ai/scenarios/scenario-high_xp_attack.cfg
    M data/core/macros/ai_candidate_actions.cfg

  Log Message:
  -----------
  New high_xp_attack candidate action for default AI

This CA performs attacks on enemy units so close to leveling that the
default AI's combat CA would not attack them (with some exceptions).
This is meant to keep players from being able to exploit this known
weakness of the default AI.


  Commit: 390d1fdc10cd9fb878186fb1c123cd1e343bdb6d
      https://github.com/wesnoth/wesnoth/commit/390d1fdc10cd9fb878186fb1c123cd1e343bdb6d
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-09-03 (Sat, 03 Sep 2016)

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

  Log Message:
  -----------
  High XP CA: simplify attack conditions with 1.13 syntax


  Commit: af0f49ae9a8c907ff420c9e851fd44188c1ebb5d
      https://github.com/wesnoth/wesnoth/commit/af0f49ae9a8c907ff420c9e851fd44188c1ebb5d
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-09-03 (Sat, 03 Sep 2016)

  Changed paths:
    M data/core/macros/ai_candidate_actions.cfg

  Log Message:
  -----------
  High XP CA: add missing braces to CA definition

This did not keep the AI from working correctly, it just made it
slightly less efficient.


  Commit: f76e2d0c595a7d217f7a6940ea78df78baac80f0
      https://github.com/wesnoth/wesnoth/commit/f76e2d0c595a7d217f7a6940ea78df78baac80f0
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-09-03 (Sat, 03 Sep 2016)

  Changed paths:
    M data/ai/lua/ca_high_xp_attack.lua
    M data/ai/scenarios/scenario-high_xp_attack.cfg

  Log Message:
  -----------
  High XP attack CA: remove a debug message

Also remove a related message from the test scenario.


  Commit: 8e50c4ee066aee2ea9925d4964baa691c14f698c
      https://github.com/wesnoth/wesnoth/commit/8e50c4ee066aee2ea9925d4964baa691c14f698c
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-09-03 (Sat, 03 Sep 2016)

  Changed paths:
    M data/campaigns/Son_Of_The_Black_Eye/scenarios/04_The_Siege_of_Barag_Gor.cfg
    M data/campaigns/Son_Of_The_Black_Eye/scenarios/09_Shan_Taum_the_Smug.cfg
    M data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg

  Log Message:
  -----------
  SotBE: remove macros to force attacks on high-XP enemies

This is not needed any more with the new high XX attacks candidate
action.


  Commit: d781e6263a49dc6daea8c49aec328f0cf15b46ca
      https://github.com/wesnoth/wesnoth/commit/d781e6263a49dc6daea8c49aec328f0cf15b46ca
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-09-03 (Sat, 03 Sep 2016)

  Changed paths:
    M data/ai/dev/ai_default_rca_alternate_recruiting.cfg
    M data/ai/dev/formula_ai.cfg
    M data/ai/dev/formula_ai_poisoning.cfg
    M data/ai/micro_ais/cas/ca_healer_may_attack.lua
    M data/ai/micro_ais/cas/ca_return_guardian.lua
    M data/ai/micro_ais/mai-defs/fast.lua
    M data/ai/micro_ais/mai-defs/guardian.lua
    M data/ai/micro_ais/mai-defs/healers.lua
    M data/ai/scenarios/scenario-formula-recruitment.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/scenarios/15_A_New_Land.cfg
    M data/core/macros/ai.cfg

  Log Message:
  -----------
  High XP attacks: adapt other AIs to existence of new CA

This means:
1. Adding the new CA to AI configs
2. Removing it whenever the combat CA is removed
3. Preventing conflicts for AIs that previously used overlapping scores


  Commit: 56d30fc82b418ae71b6e8996fc426c91dfe78b71
      https://github.com/wesnoth/wesnoth/commit/56d30fc82b418ae71b6e8996fc426c91dfe78b71
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2016-09-04 (Sun, 04 Sep 2016)

  Changed paths:
    M changelog
    M data/ai/ais/ai_default_rca.cfg
    M data/ai/dev/ai_default_rca_alternate_recruiting.cfg
    M data/ai/dev/formula_ai.cfg
    M data/ai/dev/formula_ai_poisoning.cfg
    A data/ai/lua/ca_high_xp_attack.lua
    M data/ai/micro_ais/cas/ca_healer_may_attack.lua
    M data/ai/micro_ais/cas/ca_return_guardian.lua
    M data/ai/micro_ais/mai-defs/fast.lua
    M data/ai/micro_ais/mai-defs/guardian.lua
    M data/ai/micro_ais/mai-defs/healers.lua
    M data/ai/scenarios/scenario-formula-recruitment.cfg
    A data/ai/scenarios/scenario-high_xp_attack.cfg
    M data/campaigns/Son_Of_The_Black_Eye/scenarios/04_The_Siege_of_Barag_Gor.cfg
    M data/campaigns/Son_Of_The_Black_Eye/scenarios/09_Shan_Taum_the_Smug.cfg
    M data/campaigns/Son_Of_The_Black_Eye/utils/utils.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/scenarios/15_A_New_Land.cfg
    M data/core/macros/ai.cfg
    M data/core/macros/ai_candidate_actions.cfg

  Log Message:
  -----------
  Merge pull request #764 from wesnoth/ai_high_xp_attack

New high_xp_attack candidate action for default AI


Compare: https://github.com/wesnoth/wesnoth/compare/c29ea4e2612f...56d30fc82b41


More information about the Commits mailing list