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