diff --git a/hwe/sammo/Command/General/che_농지개간.php b/hwe/sammo/Command/General/che_농지개간.php index 20e217f1..f91a0189 100644 --- a/hwe/sammo/Command/General/che_농지개간.php +++ b/hwe/sammo/Command/General/che_농지개간.php @@ -9,4 +9,5 @@ class che_농지개간 extends che_상업투자{ static $statKey = 'intel'; static $actionKey = '농업'; static $actionName = '농지 개간'; + static $debuffFront = 0.5; } \ No newline at end of file diff --git a/hwe/sammo/Command/General/che_상업투자.php b/hwe/sammo/Command/General/che_상업투자.php index c88419a0..f97cc3aa 100644 --- a/hwe/sammo/Command/General/che_상업투자.php +++ b/hwe/sammo/Command/General/che_상업투자.php @@ -18,11 +18,12 @@ use function sammo\uniqueItemEx; use function sammo\getGeneralLeadership; -class che_상업투자 extends GeneralCommand{ +class che_상업투자 extends Command\GeneralCommand{ static $cityKey = 'comm'; static $statKey = 'intel'; static $actionKey = '상업'; static $actionName = '상업 투자'; + static $debuffFront = 0.5; protected function init(){ @@ -131,6 +132,10 @@ class che_상업투자 extends GeneralCommand{ $exp = $general->onPreGeneralStatUpdate($general, 'experience', $exp); $ded = $general->onPreGeneralStatUpdate($general, 'dedication', $ded); + if($this->city['front'] == 1 && $this->nation['capital'] != $this->city['city']){ + $score *= static::$debuffFront; + } + //NOTE: 내정량 상승시 초과 가능? $cityUpdated = [ static::$cityKey => Util::valueFit( diff --git a/hwe/sammo/Command/General/che_성벽보수.php b/hwe/sammo/Command/General/che_성벽보수.php index 1a595089..221e3720 100644 --- a/hwe/sammo/Command/General/che_성벽보수.php +++ b/hwe/sammo/Command/General/che_성벽보수.php @@ -9,4 +9,5 @@ class che_성벽보수 extends che_상업투자{ static $statKey = 'power'; static $actionKey = '성벽'; static $actionName = '성벽 보수'; + static $debuffFront = 0.25; } \ No newline at end of file diff --git a/hwe/sammo/Command/General/che_수비강화.php b/hwe/sammo/Command/General/che_수비강화.php index 78508629..aabb156d 100644 --- a/hwe/sammo/Command/General/che_수비강화.php +++ b/hwe/sammo/Command/General/che_수비강화.php @@ -9,4 +9,5 @@ class che_수비강화 extends che_상업투자{ static $statKey = 'power'; static $actionKey = '수비'; static $actionName = '수비 강화'; + static $debuffFront = 0.5; } \ No newline at end of file diff --git a/hwe/sammo/Command/General/che_정착장려.php b/hwe/sammo/Command/General/che_정착장려.php index 50b739f6..81d1f7d5 100644 --- a/hwe/sammo/Command/General/che_정착장려.php +++ b/hwe/sammo/Command/General/che_정착장려.php @@ -18,7 +18,7 @@ use function sammo\uniqueItemEx; use function sammo\getGeneralLeadership; -class che_상업투자 extends GeneralCommand{ +class che_정착장려 extends Command\GeneralCommand{ static $cityKey = 'pop'; static $statKey = 'leader'; static $actionKey = '인구'; diff --git a/hwe/sammo/Command/General/che_주민선정.php b/hwe/sammo/Command/General/che_주민선정.php index 4b7e7668..0692c400 100644 --- a/hwe/sammo/Command/General/che_주민선정.php +++ b/hwe/sammo/Command/General/che_주민선정.php @@ -18,7 +18,7 @@ use function sammo\uniqueItemEx; use function sammo\getGeneralLeadership; -class che_주민선정 extends GeneralCommand{ +class che_주민선정 extends Command\GeneralCommand{ static $cityKey = 'trust'; static $statKey = 'leader'; static $actionKey = '민심'; diff --git a/hwe/sammo/Command/General/che_치안강화.php b/hwe/sammo/Command/General/che_치안강화.php index 972210b1..c2736552 100644 --- a/hwe/sammo/Command/General/che_치안강화.php +++ b/hwe/sammo/Command/General/che_치안강화.php @@ -9,4 +9,5 @@ class che_치안강화 extends che_상업투자{ static $statKey = 'power'; static $actionKey = '치안'; static $actionName = '치안 강화'; + static $debuffFront = 1; } \ No newline at end of file