1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
vcmi/AI/Nullkiller/Pathfinding
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
..
Actions Workaround for very slow boat summon tests 2024-07-04 19:56:01 +00:00
Rules Fix typos using https://github.com/crate-ci/typos 2024-06-24 03:47:19 +02:00
Actors.cpp Take magic-capability into account for overall strength-estimation of hero-lead-armies 2024-07-15 17:42:02 +02:00
Actors.h Remove more redundant virtual specifiers 2024-02-13 15:21:30 +01:00
AINodeStorage.cpp Fix for double army-loss 2024-07-15 17:35:54 +02:00
AINodeStorage.h Merge remote-tracking branch 'upstream/develop' into develop 2024-07-12 17:43:04 +02:00
AIPathfinder.cpp NKAI: allow multiple tasks to be executed from one calculation 2024-04-14 16:46:05 +03:00
AIPathfinder.h NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00
AIPathfinderConfig.cpp #3876 - allow to embark after battle for AI pathfinder 2024-05-05 13:52:57 +03:00
AIPathfinderConfig.h NKAI: initial implementation of object graph 2024-03-02 15:52:45 +02:00
GraphPaths.cpp Remove excessive copies of large objects 2024-07-03 21:14:22 +00:00
GraphPaths.h NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00
ObjectGraph.cpp NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00
ObjectGraph.h NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00
ObjectGraphCalculator.cpp NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00
ObjectGraphCalculator.h NKAI: port exploration from VCAI 2024-05-20 23:50:13 +03:00