[Commits] [wesnoth/wesnoth] c6512a: Fast Micro AI: add optional key leader_weight
GitHub
noreply at github.com
Fri Sep 4 15:06:17 UTC 2015
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: c6512ab869042fa286aab3f5e4c940f585029974
https://github.com/wesnoth/wesnoth/commit/c6512ab869042fa286aab3f5e4c940f585029974
Author: mattsc <mattsc at MSMB.local>
Date: 2015-09-04 (Fri, 04 Sep 2015)
Changed paths:
M data/ai/micro_ais/cas/ca_fast_combat.lua
M data/ai/micro_ais/micro_ai_wml_tag.lua
Log Message:
-----------
Fast Micro AI: add optional key leader_weight
This is a multiplicative factor determining how much more the AI values
leaders than non-leader units. The parameter was already included in
the fast_attack_utils code with a default value of 2. This commit only
makes it configurable from the [micro_ai] tag.
More information about the Commits
mailing list