1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-18 03:21:27 +02:00
vcmi/lib/mapObjects
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
..
2024-04-09 18:56:28 +03:00
2024-01-27 15:28:21 +02:00
2024-01-27 15:28:21 +02:00
2024-05-30 21:57:58 +02:00
2024-02-14 12:56:37 +02:00
2024-02-14 12:56:37 +02:00
2024-05-17 17:10:29 +00:00
2024-05-17 17:10:29 +00:00