From 8f1536601103bfecc9107e6eeb3003c0bfd33d4c Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 23 Mar 2025 09:42:14 +0700 Subject: [PATCH] More const values --- src/main/kotlin/ru/dbotthepony/mc/otm/entity/Enforcer.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }