1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/AI/Nullkiller/Analyzers
Xilmi f8f10adb2e Take magic-capability into account for overall strength-estimation of hero-lead-armies
The magic-strength of a hero now checks if the hero has a spellbook and at least one combat-spell.
The impact of knowledge and spellpower to the hero's magic-strength is now also depending on it's current and max mana-pool-size as an empty mana-pool does not exactly contribute well to fights.

Replaced every call of getFightingStrength() with getHeroStrength() which uses both the fightingStrength and the (reworked) magicStrength to guess how much stronger a hero-lead army is.
2024-07-15 17:42:02 +02:00
..
ArmyManager.cpp #3824 - fix empty army with only commander issues 2024-04-26 23:18:20 +03:00
ArmyManager.h Replace uint64_t with signed type to prevent overflow on substraction 2024-07-08 20:52:11 +00:00
BuildAnalyzer.cpp Allow all buildings 2024-07-15 17:26:06 +02:00
BuildAnalyzer.h Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
DangerHitMapAnalyzer.cpp Threat in DangerHitMap 2024-07-15 17:28:10 +02:00
DangerHitMapAnalyzer.h Threat in DangerHitMap 2024-07-15 17:28:10 +02:00
HeroManager.cpp Take magic-capability into account for overall strength-estimation of hero-lead-armies 2024-07-15 17:42:02 +02:00
HeroManager.h NKAI: optimize clusterization and pathfinding for object graph 2024-03-24 09:32:54 +02:00
ObjectClusterizer.cpp AI-variant without fuzzy-logic 2024-07-07 22:44:52 +02:00
ObjectClusterizer.h Review fixes 2024-06-17 09:43:22 +00:00