mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
Sacrificing artifacts. [Code is one giant workaround but should work good enough.] Updated changelog.
This commit is contained in:
@ -2635,7 +2635,7 @@ std::pair<ui32, ui32> BattleInfo::calculateDmgRange( const CStack* attacker, con
|
||||
|
||||
if(defendingHero)
|
||||
{
|
||||
multBonus *= (std::max(0, 100-attackerHero->valOfBonuses(Bonus::SECONDARY_SKILL_PREMY, 23))) / 100.0f;
|
||||
multBonus *= (std::max(0, 100-defendingHero->valOfBonuses(Bonus::SECONDARY_SKILL_PREMY, 23))) / 100.0f;
|
||||
}
|
||||
|
||||
//handling hate effect
|
||||
|
Reference in New Issue
Block a user