Consider passive strength bonuses for force value (#11863)

This commit is contained in:
SeventhM 2024-06-27 13:26:57 -07:00 committed by GitHub
parent 1c25839ddb
commit d92b65cd58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -499,6 +499,8 @@ class BaseUnit : RulesetObject(), INonPerpetualConstruction {
} // Bonus in terrain or feature - half the bonus
) {
power *= (unique.params[0].toInt() / 2f).toPercent()
} else {
power *= (unique.params[0].toInt()).toPercent() // Static bonus
}
}
UniqueType.StrengthNearCapital ->