mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 19:08:48 -04:00
Update UnitAutomation.kt (#13778)
This commit is contained in:
parent
d42525f27d
commit
e8b72da3fd
@ -235,7 +235,7 @@ object UnitAutomation {
|
||||
if (unit.health < 50 && (tryRetreat(unit) || tryHealUnit(unit))) return // do nothing but heal
|
||||
|
||||
// If there are no enemies nearby and we can heal here, wait until we are at full health
|
||||
if (unit.health < 100 && canUnitHealInTurnsOnCurrentTile(unit,2, 4)) return
|
||||
if (unit.health < 100 && canUnitHealInTurnsOnCurrentTile(unit,2, 3)) return
|
||||
|
||||
if (tryHeadTowardsOurSiegedCity(unit)) return
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user