From 73a7bf5a61f9e43c1a2eb6efb5aa4c9e309a7db7 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 9 Jul 2022 23:09:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=82=B4=EC=A0=95=20=EB=8F=84=EA=B5=AC?= =?UTF-8?q?=20=EC=9C=A0=EB=8B=88=ED=81=AC=EA=B0=80=20=EB=8F=99=EC=9E=91?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=B2=84=EA=B7=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/ActionItem/che_내정_납금박산로.php | 2 +- hwe/sammo/ActionItem/che_조달_주판.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;