fix: 명성 최대 레벨 지정이 없었음

This commit is contained in:
2023-04-29 23:18:55 +09:00
parent 91b7934ee3
commit 9b95163f24
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -542,6 +542,8 @@ function getExpLevel($experience) {
$level = Util::toInt(sqrt($experience/10));
}
$level = Util::clamp($level, 0, GameConst::$maxLevel);
return $level;
}
+3
View File
@@ -83,6 +83,9 @@ class GameConstBase
/** @var int 최대 하야 패널티 수 */
public static $maxBetrayCnt = 9;
/** @var int 최대 레벨 */
public static $maxLevel = 300;
/** @var int 최소 인구 증가량 */
public static $basePopIncreaseAmount = 5000;
/** @var int 증축시 인구 증가량 */