mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Some (disabled) work for commander artifacts. Hero artifacts window seems broken.
Minor fixes.
This commit is contained in:
@@ -757,6 +757,7 @@ std::string CStackInstance::bonusToGraphics(Bonus *bonus) const
|
||||
fileName = "E_REBIRTH.bmp"; break;
|
||||
case Bonus::BLOCKS_RETALIATION:
|
||||
fileName = "E_RETAIL.bmp"; break;
|
||||
case Bonus::UNLIMITED_RETALIATIONS:
|
||||
case Bonus::ADDITIONAL_RETALIATION:
|
||||
fileName = "E_RETAIL1.bmp"; break;
|
||||
case Bonus::ATTACKS_ALL_ADJACENT:
|
||||
@@ -1025,6 +1026,11 @@ void CCommanderInstance::levelUp ()
|
||||
}
|
||||
}
|
||||
|
||||
ui8 CCommanderInstance::bearerType() const
|
||||
{
|
||||
return ArtBearer::COMMANDER;
|
||||
}
|
||||
|
||||
CStackBasicDescriptor::CStackBasicDescriptor()
|
||||
{
|
||||
type = NULL;
|
||||
|
||||
Reference in New Issue
Block a user