1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/AI/BattleAI
Xilmi 98415e98da Spellcasting-bug-fix
Fixed a bug that prevented the AI from using spells when attacking an enemy settlement that has towers.
The bug was caused by noticing how greatly effective spells would be against towers but not being able to actually target them.
By skipping invalid targets, this no longer is an issue.
2024-07-10 14:36:35 +00:00
..
AttackPossibility.cpp Do not use floating point equality checks 2024-02-14 12:07:07 +02:00
AttackPossibility.h Reduced usage of global variables - removed or made const / constexpr 2024-02-12 13:49:45 +02:00
BattleAI.cbp Entities redesign and a few ERM features 2021-02-14 19:05:43 +03:00
BattleAI.cpp Remove "catch everything and silently ignore" block 2024-04-16 18:54:51 +03:00
BattleAI.h Support multiple battles in AI 2023-09-06 16:03:46 +03:00
BattleAI.vcxproj Update VS files to 2019, partially fix test project 2019-06-09 17:28:55 +02:00
BattleEvaluator.cpp Spellcasting-bug-fix 2024-07-10 14:36:35 +00:00
BattleEvaluator.h Support multiple battles in AI 2023-09-06 16:03:46 +03:00
BattleExchangeVariant.cpp Fix crash on sieging Citadel or Castle 2024-06-19 19:59:06 +00:00
BattleExchangeVariant.h Fixed potential thread races in Battle AI 2024-06-17 16:15:19 +00:00
CMakeLists.txt Merge pull request #3609 from IvanSavenko/single_process 2024-02-14 12:06:22 +02:00
EnemyInfo.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
EnemyInfo.h wrap all library code into namespace if VCMI_LIB_NAMESPACE is defined 2022-09-24 15:55:21 +03:00
main.cpp Reduced usage of global variables - removed or made const / constexpr 2024-02-12 13:49:45 +02:00
PossibleSpellcast.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
PossibleSpellcast.h BattleAI: spellcast fixes and floating point score 2023-08-26 14:17:33 +03:00
PotentialTargets.cpp BattleAI: damage cache and switch to different model of spells evaluation 2023-08-26 13:06:51 +03:00
PotentialTargets.h BattleAI: damage cache and switch to different model of spells evaluation 2023-08-26 13:06:51 +03:00
StackWithBonuses.cpp Replace bonus string description with metastring that can properly 2024-04-09 16:13:30 +03:00
StackWithBonuses.h Pass functor via reference to avoid costly copies 2023-11-18 19:43:11 +02:00
StdInc.cpp convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
StdInc.h convert line endings from CRLF (Windows) to LF (Linux/Unix) 2023-10-19 16:23:21 +02:00
ThreatMap.cpp vcmi: make some CStack properties private 2023-04-27 20:58:49 +03:00
ThreatMap.h Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00