mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-16 10:19:47 +02:00
f8f10adb2e
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. |
||
---|---|---|
.. | ||
Actions | ||
Rules | ||
Actors.cpp | ||
Actors.h | ||
AINodeStorage.cpp | ||
AINodeStorage.h | ||
AIPathfinder.cpp | ||
AIPathfinder.h | ||
AIPathfinderConfig.cpp | ||
AIPathfinderConfig.h | ||
GraphPaths.cpp | ||
GraphPaths.h | ||
ObjectGraph.cpp | ||
ObjectGraph.h | ||
ObjectGraphCalculator.cpp | ||
ObjectGraphCalculator.h |