GeneralPublicRecord 추가
This commit is contained in:
+9
-9
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user