mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-14 10:12:59 +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. |
||
---|---|---|
.. | ||
ArmyManager.cpp | ||
ArmyManager.h | ||
BuildAnalyzer.cpp | ||
BuildAnalyzer.h | ||
DangerHitMapAnalyzer.cpp | ||
DangerHitMapAnalyzer.h | ||
HeroManager.cpp | ||
HeroManager.h | ||
ObjectClusterizer.cpp | ||
ObjectClusterizer.h |