From b5170006508de02fa47aecb0829d0019969664b5 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 21 Aug 2022 17:52:25 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EC=84=B1=EB=B2=BD=20=EA=B3=B5=EA=B2=A9?= =?UTF-8?q?=20=EC=8B=9C=20=EC=86=8C=EB=AA=A8=20=EC=8C=80=2020%=20=EA=B0=90?= =?UTF-8?q?=EC=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/WarUnitGeneral.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index 14dfd9fa..a44c3ac3 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -271,6 +271,9 @@ class WarUnitGeneral extends WarUnit if (!$this->isAttacker) { $rice *= 0.8; } + if ($this->oppose instanceof WarUnitCity){ + $rice *= 0.8; + } $rice *= $this->crewType->rice; $rice *= getTechCost($this->getNationVar('tech'));