mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
df21a77857
When defending the AI is now much smarter to use their defensive-structures like walls, towers and the moat to their advantage instead of allowing them to be lured out and killed in the open. A penalty-multiplier is now applied when deciding which units to walk towards. If an ally is closer than us to the enemy unit in question, we reduce our score for walking towards that unit too. This shall help against baiting a whole flock of AI-stacks to overcommit on chasing an inferior stack of the enemy. |
||
---|---|---|
.. | ||
AttackPossibility.cpp | ||
AttackPossibility.h | ||
BattleAI.cpp | ||
BattleAI.h | ||
BattleEvaluator.cpp | ||
BattleEvaluator.h | ||
BattleExchangeVariant.cpp | ||
BattleExchangeVariant.h | ||
CMakeLists.txt | ||
EnemyInfo.cpp | ||
EnemyInfo.h | ||
main.cpp | ||
PossibleSpellcast.cpp | ||
PossibleSpellcast.h | ||
PotentialTargets.cpp | ||
PotentialTargets.h | ||
StackWithBonuses.cpp | ||
StackWithBonuses.h | ||
StdInc.cpp | ||
StdInc.h | ||
ThreatMap.cpp | ||
ThreatMap.h |