1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fixed duplicated value

This commit is contained in:
Tomasz Zieliński 2022-09-09 19:19:31 +02:00 committed by Andrii Danylchenko
parent f4de5453c6
commit faa6ca401e

View File

@ -196,7 +196,6 @@ uint64_t evaluateArtifactArmyValue(CArtifactInstance * art)
+ 700 * art->getDefense(false)
+ 700 * art->valOfBonuses(Bonus::PRIMARY_SKILL, PrimarySkill::KNOWLEDGE)
+ 700 * art->valOfBonuses(Bonus::PRIMARY_SKILL, PrimarySkill::SPELL_POWER)
+ 700 * art->getDefense(false)
+ 500 * art->valOfBonuses(Bonus::LUCK);
auto classValue = 0;