diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/android/feature/NanobotsRegenerationFeature.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/android/feature/NanobotsRegenerationFeature.kt index fcd1b372e..4a0fcb6c5 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/android/feature/NanobotsRegenerationFeature.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/android/feature/NanobotsRegenerationFeature.kt @@ -22,7 +22,7 @@ class NanobotsRegenerationFeature(android: MatteryPlayerCapability) : AndroidFea val waitTime = TICKS_BETWEEN_HEAL.getOrElse(healTicks) { TICKS_BETWEEN_HEAL.last() } if (ticksPassed > waitTime) { - val missingHealth = (ply.maxHealth - ply.health).coerceAtMost(2f + (level * 2f)) + val missingHealth = (ply.maxHealth - ply.health).coerceAtMost(2f) val power = ENERGY_PER_HITPOINT * missingHealth val extracted = android.androidEnergy.extractEnergyInner(power, false)