From 0bf49ebfb9ef9d21be4e96d4b971a1ded3b58855 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 30 Apr 2023 00:29:15 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EB=8A=A5=EB=A0=A5=EC=B9=98=EA=B0=80=20?= =?UTF-8?q?=EC=83=81=ED=95=9C=EC=97=90=20=EB=8F=84=EB=8B=AC=ED=95=98?= =?UTF-8?q?=EB=A9=B4=20=EB=8D=94=EC=9D=B4=EC=83=81=20=EC=98=A4=EB=A5=B4?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/General.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index 0d8088ef..867d510f 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -841,9 +841,11 @@ class General implements iAction $this->increaseVar($statName, -1); $result = true; } else if ($this->getVar($statExpName) >= $limit) { - $logger->pushGeneralActionLog("{$statNickName}이 1 올랐습니다!", ActionLogger::PLAIN); + if($this->getVar($statName) < GameConst::$maxLevel) { + $logger->pushGeneralActionLog("{$statNickName}이 1 올랐습니다!", ActionLogger::PLAIN); + $this->increaseVar($statName, 1); + } $this->increaseVar($statExpName, -$limit); - $this->increaseVar($statName, 1); $result = true; } }