1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Implemented HERO_SPELL_CASTS_PER_COMBAT_TURN bonus

This commit is contained in:
Ivan Savenko
2025-05-08 00:25:07 +03:00
parent 6b6199d3a4
commit 700eeb6bd4
12 changed files with 23 additions and 14 deletions

View File

@@ -256,7 +256,7 @@ InfoAboutHero CBattleInfoEssentials::battleGetHeroInfo(BattleSide side) const
return InfoAboutHero(hero, infoLevel);
}
uint32_t CBattleInfoEssentials::battleCastSpells(BattleSide side) const
int32_t CBattleInfoEssentials::battleCastSpells(BattleSide side) const
{
RETURN_IF_NOT_BATTLE(-1);
return getBattle()->getCastSpells(side);