From 696ba0b3413db4b631b044c445acecd845ec01cc Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 18 Jun 2023 13:23:01 +0900 Subject: [PATCH] =?UTF-8?q?fix(game):=20=EB=B3=91=EA=B0=80=EC=9D=98=20?= =?UTF-8?q?=EC=84=B8=EC=9C=A8=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EC=9D=B8?= =?UTF-8?q?=EA=B5=AC=20=EC=A6=9D=EA=B0=90=EC=9D=B4=20'=EC=A0=95=EC=88=98'?= =?UTF-8?q?=EB=A1=9C=20=EA=B3=A0=EC=A0=95=EB=90=98=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20-=20onCalcNationalIncome=EC=97=90=EC=84=9C=20pop?= =?UTF-8?q?=EC=9D=80=200~0.125=20=EC=82=AC=EC=9D=B4=EC=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/ActionNationType/che_병가.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hwe/sammo/ActionNationType/che_병가.php b/hwe/sammo/ActionNationType/che_병가.php index 47094298..bf69a6b1 100644 --- a/hwe/sammo/ActionNationType/che_병가.php +++ b/hwe/sammo/ActionNationType/che_병가.php @@ -25,15 +25,15 @@ class che_병가 extends \sammo\BaseNation{ if($varType == 'score') return $value * 0.9; if($varType == 'cost') return $value * 1.2; } - + return $value; } public function onCalcNationalIncome(string $type, $amount):int{ if($type == 'pop' && $amount > 0){ - return Util::toInt($amount * 0.8); + return $amount * 0.8; } - + return $amount; } } \ No newline at end of file