game: 랜덤임관 모드에서 초기 장수 제한 해제
- 사전 거병이 가능하므로, 시간에 따른 제한은 필요없을 것으로 판단
This commit is contained in:
@@ -173,11 +173,8 @@ class che_랜덤임관 extends Command\GeneralCommand
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$onlyRandom = $env['join_mode'] == 'onlyRandom';
|
||||
$genLimit = GameConst::$defaultMaxGeneral;
|
||||
if ($onlyRandom && TimeUtil::IsRangeMonth($env['init_year'], $env['init_month'], 1, $env['year'], $env['month'])) {
|
||||
$genLimit = GameConst::$initialNationGenLimitForRandInit;
|
||||
} else if ($relYear < 3) {
|
||||
if ($relYear < 3) {
|
||||
$genLimit = GameConst::$initialNationGenLimit;
|
||||
}
|
||||
|
||||
|
||||
@@ -98,9 +98,6 @@ class GameConstBase
|
||||
/** @var int 징병 허용 최소 인구 */
|
||||
public static $minAvailableRecruitPop = 30000;
|
||||
|
||||
/** @var int 초기 제한시 장수 제한 */
|
||||
public static $initialNationGenLimitForRandInit = 3;
|
||||
|
||||
/** @var int 초기 제한시 장수 제한 */
|
||||
public static $initialNationGenLimit = 10;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user