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:
parent
d64a3899a3
commit
15c8b192b4
@ -210,7 +210,7 @@ void CStack::prepareAttacked(BattleStackAttacked & bsa, vstd::RNG & rand, std::s
|
||||
|
||||
if(resurrectValue > 0 && customState->canCast()) //there must be casts left
|
||||
{
|
||||
double resurrectFactor = resurrectValue / 100;
|
||||
double resurrectFactor = resurrectValue / 100.0;
|
||||
|
||||
auto baseAmount = customState->unitBaseAmount();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user