1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Add COMBAT_MANA_BONUS for Skyship

This commit is contained in:
Ivan Savenko
2025-07-06 15:36:51 +03:00
parent 9070db4a96
commit 200850f56f
6 changed files with 47 additions and 16 deletions

View File

@@ -19,7 +19,11 @@ void SideInBattle::init(const CGHeroInstance * Hero, const CArmedInstance * Army
{
armyObjectID = Army->id;
if (Hero)
{
heroID = Hero->id;
initialMana = Hero->mana;
additionalMana = Hero->valOfBonuses(BonusType::COMBAT_MANA_BONUS);
}
switch(Army->ID.toEnum())
{