시나리오마다 별도로 스탯 제한치를 설정 가능하도록 변경
This commit is contained in:
@@ -127,8 +127,9 @@ class ResetHelper{
|
||||
}
|
||||
|
||||
$scenarioObj = new Scenario($scenario, false);
|
||||
$startyear = $scenarioObj->getYear()??GameConst::$defaultStartYear;
|
||||
$scenarioObj->buildConf();
|
||||
|
||||
$startyear = $scenarioObj->getYear()??GameConst::$defaultStartYear;
|
||||
|
||||
$db = DB::db();
|
||||
$gameStor = KVStorage::getStorage($db, 'game_env');
|
||||
@@ -160,6 +161,8 @@ class ResetHelper{
|
||||
$killturn = 4800 / $turnterm;
|
||||
if($npcmode == 1) { $killturn = intdiv($killturn, 3); }
|
||||
|
||||
|
||||
|
||||
$env = [
|
||||
'scenario'=>$scenario,
|
||||
'scenario_text'=>$scenarioObj->getTitle(),
|
||||
|
||||
Reference in New Issue
Block a user