Update UnitAutomation.kt (#13778)

This commit is contained in:
EmperorPinguin 2025-08-06 21:25:07 +02:00 committed by GitHub
parent d42525f27d
commit e8b72da3fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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