mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-24 03:53:12 -04:00
Update CivilianUnitAutomation.kt (#13503)
This commit is contained in:
parent
d18b78d5f4
commit
b4bc02839f
@ -111,9 +111,9 @@ object CivilianUnitAutomation {
|
|||||||
// TODO: This could be more complex to walk to the city state that is most beneficial to
|
// TODO: This could be more complex to walk to the city state that is most beneficial to
|
||||||
// also have more influence.
|
// also have more influence.
|
||||||
if (unit.hasUnique(UniqueType.CanTradeWithCityStateForGoldAndInfluence)
|
if (unit.hasUnique(UniqueType.CanTradeWithCityStateForGoldAndInfluence)
|
||||||
// Don't wander around with the great merchant when at war. Barbs might also be a
|
// There's a risk our merchant gets intercepted and killed by the enemy during war.
|
||||||
// problem, but hopefully by the time we have a great merchant, they're under control.
|
// If such happens, it is a failure of our military unit movement to protect our merchant.
|
||||||
&& !unit.civ.isAtWar()
|
// Barbs might also be a problem, but hopefully by the time we have a great merchant, they're under control.
|
||||||
&& isLateGame
|
&& isLateGame
|
||||||
) {
|
) {
|
||||||
val tradeMissionCanBeConductedEventually =
|
val tradeMissionCanBeConductedEventually =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user