1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Added graphics for GENERAL_DAMAGE_REDUCTION bonus. Files are now in vcmi mod.

This commit is contained in:
DjWarmonger
2014-10-28 19:04:34 +01:00
parent 06983fc346
commit b518fd6ea6
4 changed files with 20 additions and 2 deletions

View File

@ -232,6 +232,17 @@ std::string CBonusTypeHandler::bonusToGraphics(const Bonus* bonus) const
}
break;
}
case Bonus::GENERAL_DAMAGE_REDUCTION:
{
switch (bonus->subtype)
{
case 0:
fileName = "DamageReductionMelee.bmp"; break;
case 1:
fileName = "DamageReductionRanged.bmp"; break;
}
break;
}
default:
{