From 6445b77b90d02f1e81478a737c1b6abbe97cd19a Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 18 Sep 2024 16:17:24 +0000 Subject: [PATCH] =?UTF-8?q?game:=20=EB=B6=80=EB=8C=80=ED=83=91=EC=8A=B9?= =?UTF-8?q?=ED=9B=84=20=EC=9D=B4=EB=8F=99=20=EC=9D=B4=EB=B2=A4=ED=8A=B8?= =?UTF-8?q?=EC=8B=9C=20=EB=A1=9C=EA=B7=B8=20=EA=B8=B0=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/StaticEvent/event_부대탑승즉시이동.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hwe/sammo/StaticEvent/event_부대탑승즉시이동.php b/hwe/sammo/StaticEvent/event_부대탑승즉시이동.php index 6a8523cc..51fd94b2 100644 --- a/hwe/sammo/StaticEvent/event_부대탑승즉시이동.php +++ b/hwe/sammo/StaticEvent/event_부대탑승즉시이동.php @@ -2,10 +2,13 @@ namespace sammo\StaticEvent; +use sammo\ActionLogger; +use sammo\CityConst; use sammo\DB; use sammo\Enums\GeneralLiteQueryMode; use sammo\General; use sammo\GeneralLite; +use sammo\JosaUtil; class event_부대탑승즉시이동 extends \sammo\BaseStaticEvent { @@ -37,7 +40,10 @@ class event_부대탑승즉시이동 extends \sammo\BaseStaticEvent return true; } + $cityName = CityConst::byID($destGeneral->getCityID())->name; $general->setVar('city', $destGeneral->getCityID()); + $josaRo = JosaUtil::pick($cityName, '로'); + $general->getLogger()->pushGeneralActionLog("부대 주둔지인 {$cityName}{$josaRo}로 즉시 이동합니다.", ActionLogger::PLAIN); $general->applyDB(DB::db()); return true;