From 034e6374ccf4a64eb4912333b523770337272794 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 29 Apr 2023 23:30:11 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EC=B5=9C=EB=8C=80=20=ED=99=98=EC=82=B0?= =?UTF-8?q?=20=EB=8A=A5=EB=A0=A5=EC=B9=98=EB=A5=BC=20300=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=EC=A0=9C=ED=95=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/General.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index 5f715220..2693ff38 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -466,6 +466,8 @@ class General implements iAction $this->calcCache[$cKey] = $statValue; + $statValue = Util::clamp($statValue, 0, GameConst::$maxLevel); + if ($useFloor) { return Util::toInt($statValue); }