|
@@ -201,6 +201,7 @@ void CStack::prepareAttacked(BattleStackAttacked & bsa, vstd::RNG & rand, std::s
|
|
{
|
|
{
|
|
auto initialCount = customState->getCount();
|
|
auto initialCount = customState->getCount();
|
|
|
|
|
|
|
|
+ // compute damage and update bsa.damageAmount
|
|
customState->damage(bsa.damageAmount);
|
|
customState->damage(bsa.damageAmount);
|
|
|
|
|
|
bsa.killedAmount = initialCount - customState->getCount();
|
|
bsa.killedAmount = initialCount - customState->getCount();
|