From 6c92b2dd2eb6b3a75f1988ed6e05ee9bd4492d3b Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 31 Dec 2020 07:49:33 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Scenario/GeneralBuilder.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/Scenario/GeneralBuilder.php b/hwe/sammo/Scenario/GeneralBuilder.php index d0d9da4f..1581e1d6 100644 --- a/hwe/sammo/Scenario/GeneralBuilder.php +++ b/hwe/sammo/Scenario/GeneralBuilder.php @@ -10,6 +10,8 @@ use \sammo\GameConst; use \sammo\SpecialityHelper; use function sammo\buildGeneralSpecialClass; +use function sammo\buildGeneralSpecialDomesticClass; +use function sammo\buildGeneralSpecialWarClass; class GeneralBuilder{ @@ -132,12 +134,12 @@ class GeneralBuilder{ $this->specialWar = GameConst::$defaultSpecialWar; } try{ - $this->specialDomestic = SpecialityHelper::getDomesticClassByName($special); + $this->specialDomestic = buildGeneralSpecialDomesticClass($special); $this->specialWar = GameConst::$defaultSpecialWar; } catch (\Exception $e){ $this->specialDomestic = GameConst::$defaultSpecialDomestic; - $this->specialWar = SpecialityHelper::getWarClassByName($special); + $this->specialWar = buildGeneralSpecialWarClass($special); } return $this; }