1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

CStack::prepareAttacked: fix for REBIRTH bonus after merge

This commit is contained in:
Arseniy Shestakov 2018-02-08 14:37:52 +03:00
parent d64a3899a3
commit 15c8b192b4

View File

@ -210,7 +210,7 @@ void CStack::prepareAttacked(BattleStackAttacked & bsa, vstd::RNG & rand, std::s
if(resurrectValue > 0 && customState->canCast()) //there must be casts left if(resurrectValue > 0 && customState->canCast()) //there must be casts left
{ {
double resurrectFactor = resurrectValue / 100; double resurrectFactor = resurrectValue / 100.0;
auto baseAmount = customState->unitBaseAmount(); auto baseAmount = customState->unitBaseAmount();