From c5ed2d47fc5006f1184718a95fbcead1fcb24f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=8F=AC=EC=8A=A4=ED=8A=B8=EB=AA=A8=EB=8D=94=EB=8B=88?= =?UTF-8?q?=EC=A6=98?= Date: Sun, 29 Oct 2023 09:05:29 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=8A=A4=ED=83=AF=20=EA=B3=84=EC=82=B0?= =?UTF-8?q?=20=EC=8B=9C=EC=97=90=20=EC=BA=90=EC=8B=9C=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=ED=95=98=EB=8A=94=20=EB=B6=80=EB=B6=84=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?=EC=8B=9C=EB=8F=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/General.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index 3610c49a..45657c32 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -365,14 +365,14 @@ class General extends GeneralBase implements iAction } } - $this->calcCache[$cKey] = $statValue; - $statValue = Util::clamp($statValue, 0, GameConst::$maxLevel); if ($useFloor) { return Util::toInt($statValue); } + $this->calcCache[$cKey] = $statValue; + return $statValue; }