의병모집, 소형b 초기 m장, 작위보상금쌀

의병모집 -> 초기 금쌀 1000
작위보상 -> 작위에 따라 금쌀*1000
소형b -> 초기 m장 10 추가
This commit is contained in:
2020-05-30 04:36:42 +09:00
parent 7a48fdd246
commit fc00a0a363
8 changed files with 49 additions and 36 deletions
+5 -2
View File
@@ -565,7 +565,9 @@ function updateNationState()
$nation['level'] = $nationlevel;
$updateVals = [
'level' => $nationlevel
'level' => $nationlevel,
'gold'=>$db->sqleval('gold + %i', $nationlevel*1000),
'rice'=>$db->sqleval('rice + %i', $nationlevel*1000),
];
switch ($nationlevel) {
@@ -708,7 +710,8 @@ function updateNationState()
'troop' => $npcID
], 'no=%i', $npcID);
//TODO: 5턴간 집합턴 입력
$cmd = buildGeneralCommandClass('che_집합', General::createGeneralObjFromDB($npcID), $admin);
_setGeneralCommand($cmd, iterator_to_array(Util::range(GameConst::$maxTurn)));
$assemblerCnt += 1;
$gameStor->assembler_id = $lastAssemblerID;
}