mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix commander bonus from damage ability
This commit is contained in:
parent
9e9849b741
commit
6fd4b2bddd
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user