mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-15 02:09:21 +07:00
Consider passive strength bonuses for force value (#11863)
This commit is contained in:
@ -499,6 +499,8 @@ class BaseUnit : RulesetObject(), INonPerpetualConstruction {
|
|||||||
} // Bonus in terrain or feature - half the bonus
|
} // Bonus in terrain or feature - half the bonus
|
||||||
) {
|
) {
|
||||||
power *= (unique.params[0].toInt() / 2f).toPercent()
|
power *= (unique.params[0].toInt() / 2f).toPercent()
|
||||||
|
} else {
|
||||||
|
power *= (unique.params[0].toInt()).toPercent() // Static bonus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
UniqueType.StrengthNearCapital ->
|
UniqueType.StrengthNearCapital ->
|
||||||
|
Reference in New Issue
Block a user