mirror of
https://github.com/vcmi/vcmi.git
synced 2025-10-08 23:22:25 +02:00
Implemented abandoned mine. Minor fixes.
This commit is contained in:
@@ -285,4 +285,9 @@ ui32 CStackInstance::getMinDamage() const
|
||||
ui32 CStackInstance::getMaxDamage() const
|
||||
{
|
||||
return type->damageMax + valOfBonuses(Bonus::CREATURE_DAMAGE, 0) + valOfBonuses(Bonus::CREATURE_DAMAGE, 2);
|
||||
}
|
||||
|
||||
std::string CStackInstance::getQuantityTXT(bool capitalized /*= true*/) const
|
||||
{
|
||||
return VLC->generaltexth->arraytxt[174 + getQuantityID()*3 + 2 - capitalized];
|
||||
}
|
Reference in New Issue
Block a user