From fa4a266d779a6561f6769e365438b42e60ee8c71 Mon Sep 17 00:00:00 2001 From: Jinhyun Kim Date: Sat, 9 Sep 2023 07:48:48 +0900 Subject: [PATCH] =?UTF-8?q?misc:=20=EA=B0=9C=EC=9D=B8=20=EA=B8=B0=EB=A1=9D?= =?UTF-8?q?=EC=97=90=20=EC=A0=84=EB=9E=B5=20=EC=88=98=ED=96=89=20=EB=82=B4?= =?UTF-8?q?=EC=97=AD=EC=9D=B4=20=EB=82=A8=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95,=20=EB=B0=B1=EC=84=B1=EB=8F=99=EC=9B=90=20=EB=8C=80?= =?UTF-8?q?=EC=83=81=20=EB=8F=84=EC=8B=9C=EB=8F=84=20=EB=82=A8=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/Nation/che_급습.php | 1 + hwe/sammo/Command/Nation/che_백성동원.php | 2 +- hwe/sammo/Command/Nation/che_선전포고.php | 1 + hwe/sammo/Command/Nation/che_이호경식.php | 1 + hwe/sammo/Command/Nation/che_피장파장.php | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hwe/sammo/Command/Nation/che_급습.php b/hwe/sammo/Command/Nation/che_급습.php index 7a178e9c..1f88f386 100644 --- a/hwe/sammo/Command/Nation/che_급습.php +++ b/hwe/sammo/Command/Nation/che_급습.php @@ -182,6 +182,7 @@ class che_급습 extends Command\NationCommand $destNationLogger->pushNationalHistoryLog("{$nationName}{$generalName}{$josaYi} 아국에 {$commandName}{$josaUl} 발동"); $destNationLogger->flush(); + $logger->pushGeneralHistoryLog("{$destNationName}{$commandName}{$josaUl} 발동"); $logger->pushNationalHistoryLog("{$generalName}{$josaYi} {$destNationName}{$commandName}{$josaUl} 발동"); $db->update('nation', [ diff --git a/hwe/sammo/Command/Nation/che_백성동원.php b/hwe/sammo/Command/Nation/che_백성동원.php index 64d8dffd..c24fd8c3 100644 --- a/hwe/sammo/Command/Nation/che_백성동원.php +++ b/hwe/sammo/Command/Nation/che_백성동원.php @@ -156,7 +156,7 @@ class che_백성동원 extends Command\NationCommand 'wall' => $db->sqleval('GREATEST(wall_max * 0.8, wall)'), ], 'city=%i', $destCityID); - $logger->pushGeneralHistoryLog('백성동원을 발동'); + $logger->pushGeneralHistoryLog('{$destCityName}백성동원을 발동'); $logger->pushNationalHistoryLog("{$generalName}{$josaYi} {$destCityName}백성동원을 발동"); $db->update('nation', [ diff --git a/hwe/sammo/Command/Nation/che_선전포고.php b/hwe/sammo/Command/Nation/che_선전포고.php index 42c2a057..3609fbfc 100644 --- a/hwe/sammo/Command/Nation/che_선전포고.php +++ b/hwe/sammo/Command/Nation/che_선전포고.php @@ -146,6 +146,7 @@ class che_선전포고 extends Command\NationCommand $destLogger = new ActionLogger(0, $destNationID, $env['year'], $env['month']); $logger->pushGeneralActionLog("{$destNationName}에 선전 포고 했습니다.<1>$date"); + $logger->pushGeneralHistoryLog("{$destNationName}에 선전 포고"); $logger->pushNationalHistoryLog("{$generalName}{$josaYi} {$destNationName}에 선전 포고"); $destLogger->pushNationalHistoryLog("{$nationName}{$generalName}{$josaYi} 아국에 선전 포고"); diff --git a/hwe/sammo/Command/Nation/che_이호경식.php b/hwe/sammo/Command/Nation/che_이호경식.php index afb61b10..28bb957a 100644 --- a/hwe/sammo/Command/Nation/che_이호경식.php +++ b/hwe/sammo/Command/Nation/che_이호경식.php @@ -179,6 +179,7 @@ class che_이호경식 extends Command\NationCommand $destNationLogger->pushNationalHistoryLog("{$nationName}{$generalName}{$josaYi} 아국에 {$commandName}{$josaUl} 발동"); $destNationLogger->flush(); + $logger->pushGeneralHistoryLog("{$destNationName}{$commandName}{$josaUl} 발동"); $logger->pushNationalHistoryLog("{$generalName}{$josaYi} {$destNationName}{$commandName}{$josaUl} 발동"); $db->update('nation', [ diff --git a/hwe/sammo/Command/Nation/che_피장파장.php b/hwe/sammo/Command/Nation/che_피장파장.php index ebfd757f..8400ff41 100644 --- a/hwe/sammo/Command/Nation/che_피장파장.php +++ b/hwe/sammo/Command/Nation/che_피장파장.php @@ -228,6 +228,7 @@ class che_피장파장 extends Command\NationCommand $destNationLogger->pushNationalHistoryLog("{$nationName}{$generalName}{$josaYi} 아국에 {$cmd->getName()} {$commandName}{$josaUl} 발동"); $destNationLogger->flush(); + $logger->pushGeneralHistoryLog("{$destNationName}{$cmd->getName()} {$commandName}{$josaUl} 발동"); $logger->pushNationalHistoryLog("{$generalName}{$josaYi} {$destNationName}{$cmd->getName()} {$commandName}{$josaUl} 발동"); $nationStor = KVStorage::getStorage($db, $nationID, 'nation_env'); -- 2.54.0