GeneralPublicRecord 추가

This commit is contained in:
2018-04-01 18:51:26 +09:00
parent 5860a14dae
commit 1f5f7e3591
29 changed files with 299 additions and 289 deletions
+9 -9
View File
@@ -113,8 +113,8 @@ function processWar($connect, $general, $city) {
$alllog[] = "<C>●</>{$game['month']}월:병량 부족으로 <G><b>{$city['name']}</b></>의 수비병들이 <R>패퇴</>합니다.";
$history[] = "<C>●</>{$game['year']}{$game['month']}월:<M><b>【패퇴】</b></><D><b>{$destnation['name']}</b></>(이)가 병량 부족으로 <G><b>{$city['name']}</b></>(을)를 뺏기고 말았습니다.";
pushGenLog($general, $log);
pushAllLog($alllog);
pushHistory($history);
pushGeneralPublicRecord($alllog, $admin['year'], $admin['month']);
pushWorldHistory($history);
unset($log);
unset($alllog);
unset($history);
@@ -482,8 +482,8 @@ function processWar($connect, $general, $city) {
pushGenLog($general, $log);
pushBatLog($general, $batlog);
pushBatRes($general, $batres);
pushAllLog($alllog);
pushHistory($history);
pushGeneralPublicRecord($alllog, $admin['year'], $admin['month']);
pushWorldHistory($history, $admin['year'], $admin['month']);
unset($log);
unset($batlog);
unset($batres);
@@ -1495,8 +1495,8 @@ function processWar($connect, $general, $city) {
pushGenLog($general, $log);
pushBatLog($general, $batlog);
pushBatRes($general, $batres);
pushAllLog($alllog);
pushHistory($history);
pushGeneralPublicRecord($alllog, $admin['year'], $admin['month']);
pushWorldHistory($history);
return $deadAmount;
}
@@ -1607,7 +1607,7 @@ function addConflict($connect, $city, $nationnum, $mykillnum) {
$nation = getNationStaticInfo($nationnum);
$history[] = "<C>●</>{$game['year']}{$game['month']}월:<M><b>【분쟁】</b></><D><b>{$nation['name']}</b></>(이)가 <G><b>{$city['name']}</b></> 공략에 가담하여 분쟁이 발생하고 있습니다.";
pushHistory($history);
pushWorldHistory($history);
}
$nationlist[$i] = $nationnum;
@@ -1915,7 +1915,7 @@ function ConquerCity($connect, $game, $general, $city, $nation, $destnation) {
}
pushGenLog($general, $log);
pushAllLog($alllog);
pushHistory($history);
pushGeneralPublicRecord($alllog, $admin['year'], $admin['month']);
pushWorldHistory($history);
}