mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix commander bonus from damage ability
This commit is contained in:
@@ -257,6 +257,7 @@ void CGameHandler::levelUpCommander (const CCommanderInstance * c, int skill)
|
||||
break;
|
||||
case ECommander::DAMAGE:
|
||||
scp.accumulatedBonus.type = BonusType::CREATURE_DAMAGE;
|
||||
scp.accumulatedBonus.subtype = BonusCustomSubtype::creatureDamageBoth;
|
||||
scp.accumulatedBonus.valType = BonusValueType::PERCENT_TO_ALL;
|
||||
break;
|
||||
case ECommander::SPEED:
|
||||
|
Reference in New Issue
Block a user