diff --git a/hwe/sammo/Command/General/che_정착장려.php b/hwe/sammo/Command/General/che_정착장려.php index 762c2dd5..93fd93ea 100644 --- a/hwe/sammo/Command/General/che_정착장려.php +++ b/hwe/sammo/Command/General/che_정착장려.php @@ -87,7 +87,7 @@ class che_정착장려 extends Command\GeneralCommand{ } public function getCompensationStyle():?int{ - return 100<=>$this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100); + return $this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100)<=>100; } public function getPreReqTurn():int{ diff --git a/hwe/sammo/Command/General/che_주민선정.php b/hwe/sammo/Command/General/che_주민선정.php index e5bbc005..a6618601 100644 --- a/hwe/sammo/Command/General/che_주민선정.php +++ b/hwe/sammo/Command/General/che_주민선정.php @@ -87,7 +87,7 @@ class che_주민선정 extends Command\GeneralCommand{ } public function getCompensationStyle():?int{ - return 100<=>$this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100); + return $this->generalObj->onCalcDomestic(static::$actionKey, 'score', 100)<=>100; } public function getPreReqTurn():int{