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

Merge pull request #323 from vcmi/CStackTweaks

CStack tweaks
This commit is contained in:
ArseniyShestakov
2017-07-15 00:42:08 +03:00
committed by GitHub
39 changed files with 1501 additions and 765 deletions

View File

@@ -1941,7 +1941,7 @@ void CGSirens::onHeroVisit( const CGHeroInstance * h ) const
if(drown)
{
cb->changeStackCount(StackLocation(h, i->first), -drown);
xp += drown * i->second->type->valOfBonuses(Bonus::STACK_HEALTH);
xp += drown * i->second->type->MaxHealth();
}
}