mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Added graphics for GENERAL_DAMAGE_REDUCTION bonus. Files are now in vcmi mod.
This commit is contained in:
@@ -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:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user