diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/entity/Enforcer.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/entity/Enforcer.kt index 2a11ff1a8..340bb29cd 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/entity/Enforcer.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/entity/Enforcer.kt @@ -205,8 +205,6 @@ class Enforcer(type: EntityType, level: Level) : Monster(type,level) { } private var chargeTime = 0 - private val windupTime = 20 - private val maxChargeTime = 40 private var chargeDir: Vec3? = null private var cooldown = 0 private var isCharging = false @@ -324,6 +322,8 @@ class Enforcer(type: EntityType, level: Level) : Monster(type,level) { companion object { private const val minCooldown = 35 private const val maxCooldown = 60 + private const val windupTime = 20 + private const val maxChargeTime = 40 } }