feat: 기술 등급 제한 수치 유연화

This commit is contained in:
2025-06-25 13:12:32 +00:00
parent 64522ba8a6
commit 922d3f1938
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -686,7 +686,7 @@ function TechLimit($startYear, $year, $tech) : bool {
$relYear = $year - $startYear;
$relMaxTech = Util::valueFit(
floor($relYear / 5) + 1,
floor($relYear / GameConst::$techLevelIncYear) + GameConst::$initialAllowedTechLevel,
1,
GameConst::$maxTechLevel
);
+5
View File
@@ -94,6 +94,11 @@ class GameConstBase
/** @var int 최대 레벨 */
public static $maxLevel = 255;
/** @var int 기술등급 허용 증가 단위 년 */
public static $techLevelIncYear = 5;
/** @var int 초기 기술등급 */
public static $initialAllowedTechLevel = 1;
/** @var int 최소 인구 증가량 */
public static $basePopIncreaseAmount = 5000;
/** @var int 증축시 인구 증가량 */