mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 13:27:22 -04:00
Add a fixed base strength to motivationToAttack (#5248)
This commit is contained in:
parent
38231bf937
commit
c2fa1366bb
@ -498,8 +498,9 @@ object NextTurnAutomation {
|
||||
}
|
||||
|
||||
private fun motivationToAttack(civInfo: CivilizationInfo, otherCiv: CivilizationInfo): Int {
|
||||
val ourCombatStrength = civInfo.getStatForRanking(RankingType.Force).toFloat()
|
||||
var theirCombatStrength = otherCiv.getStatForRanking(RankingType.Force).toFloat()
|
||||
val baseForce = 30f
|
||||
val ourCombatStrength = civInfo.getStatForRanking(RankingType.Force).toFloat() + baseForce
|
||||
var theirCombatStrength = otherCiv.getStatForRanking(RankingType.Force).toFloat() + baseForce
|
||||
|
||||
//for city-states, also consider there protectors
|
||||
if(otherCiv.isCityState() and otherCiv.getProtectorCivs().isNotEmpty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user