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; } }