From 93f0516121960c6f1c838b2b44c44b5b351c2658 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 30 Apr 2023 00:22:14 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"game:=20=EC=8A=A4=ED=83=AF=20?= =?UTF-8?q?=EC=A0=9C=ED=95=9C=EC=9D=84=20=EC=88=9C=EC=88=98=20=EC=8A=A4?= =?UTF-8?q?=ED=83=AF=20=EB=8C=80=EC=83=81=EC=9C=BC=EB=A1=9C=EB=A7=8C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 71a3ffa21c50364ef8e0097b4037776acc713f37. --- hwe/sammo/General.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index 8f4bf159..0d8088ef 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -468,6 +468,8 @@ class General implements iAction $this->calcCache[$cKey] = $statValue; + $statValue = Util::clamp($statValue, 0, GameConst::$maxLevel); + if ($useFloor) { return Util::toInt($statValue); }