diff --git a/hwe/sammo/GameConstBase.php b/hwe/sammo/GameConstBase.php index 8aa54a8b..6ef11019 100644 --- a/hwe/sammo/GameConstBase.php +++ b/hwe/sammo/GameConstBase.php @@ -83,6 +83,12 @@ class GameConstBase /** @var int 최대 하야 패널티 수 */ public static $maxBetrayCnt = 9; + /** @var int 매월 증가하는 수비 설정 변경 제한 수 */ + public static $incDefSettingChange = 3; + /** @var int 최대로 증가하는 수비 설정 변경 제한 수*/ + public static $maxDefSettingChange = 9; + + /** @var int 최대 레벨 */ public static $maxLevel = 255; diff --git a/hwe/sammo/TurnExecutionHelper.php b/hwe/sammo/TurnExecutionHelper.php index 7a5c347b..3da4dbac 100644 --- a/hwe/sammo/TurnExecutionHelper.php +++ b/hwe/sammo/TurnExecutionHelper.php @@ -351,7 +351,7 @@ class TurnExecutionHelper pullGeneralCommand($general->getID()); $currentTurn = $general->getTurnTime(); - $general->increaseVarWithLimit('myset', 3, null, 9); + $general->increaseVarWithLimit('myset', GameConst::$incDefSettingChange, null, GameConst::$maxDefSettingChange); if (($autorun_user['limit_minutes'] ?? false) && $general->getNPCType() < 2 && $hasReservedTurn) { $autorun_limit = Util::joinYearMonth($year, $month);