시작 시 develcost가 0인 버그 해결

This commit is contained in:
2018-07-19 20:50:29 +09:00
parent 9af0e351b8
commit 9f7b18d294
+2 -1
View File
@@ -180,7 +180,7 @@ class ResetHelper{
$killturn = 4800 / $turnterm; $killturn = 4800 / $turnterm;
if($npcmode == 1) { $killturn = intdiv($killturn, 3); } if($npcmode == 1) { $killturn = intdiv($killturn, 3); }
$develcost = ($year - $startyear + 10) * 2;
$env = [ $env = [
'scenario'=>$scenario, 'scenario'=>$scenario,
@@ -196,6 +196,7 @@ class ResetHelper{
'conlimit'=>300, 'conlimit'=>300,
'gold_rate'=>100, 'gold_rate'=>100,
'rice_rate'=>100, 'rice_rate'=>100,
'develcost'=>$develcost,
'turntime'=>$turntime, 'turntime'=>$turntime,
'starttime'=>$starttime, 'starttime'=>$starttime,
'turnterm'=>$turnterm, 'turnterm'=>$turnterm,