mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-06 07:31:26 +07:00
Consider passive strength bonuses for force value (#11863)
This commit is contained in:
parent
1c25839ddb
commit
d92b65cd58
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user