diff --git a/hwe/sammo/ActionItem/che_내정_납금박산로.php b/hwe/sammo/ActionItem/che_내정_납금박산로.php index b6e3c713..db33182d 100644 --- a/hwe/sammo/ActionItem/che_내정_납금박산로.php +++ b/hwe/sammo/ActionItem/che_내정_납금박산로.php @@ -12,7 +12,7 @@ class che_내정_납금박산로 extends \sammo\BaseItem{ protected $cost = 200; protected $consumable = false; - public function onCalcStrategic(string $turnType, string $varType, $value){ + public function onCalcDomestic(string $turnType, string $varType, float $value, $aux=null): float{ if(in_array($turnType, ['상업', '농업', '기술', '성벽', '수비', '치안', '민심', '인구'])){ if($varType == 'success') return $value + 0.15; } diff --git a/hwe/sammo/ActionItem/che_조달_주판.php b/hwe/sammo/ActionItem/che_조달_주판.php index a7517b86..24d60dfc 100644 --- a/hwe/sammo/ActionItem/che_조달_주판.php +++ b/hwe/sammo/ActionItem/che_조달_주판.php @@ -12,7 +12,7 @@ class che_조달_주판 extends \sammo\BaseItem{ protected $cost = 200; protected $consumable = false; - public function onCalcStrategic(string $turnType, string $varType, $value){ + public function onCalcDomestic(string $turnType, string $varType, float $value, $aux=null): float{ if($turnType === '조달'){ if($varType == 'success') return $value + 0.2; if($varType == 'score') return $value * 2;