From 38208750e7ccee742fbc2bb730878e794e8ff9ef Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 8 Nov 2021 15:20:23 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EC=88=98=EB=B9=84=EC=9E=90=EB=8A=94=20?= =?UTF-8?q?=EC=A0=84=EB=A9=B8=20=EC=8B=9C=20=EC=A6=9D=EA=B0=80=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EC=82=AC=EA=B8=B0=EB=9F=89=EC=9D=84=20=2050%?= =?UTF-8?q?=EB=A7=8C=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/WarUnitGeneral.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index 9b430259..f0ec04b4 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -157,7 +157,13 @@ class WarUnitGeneral extends WarUnit $general->increaseRankVar('occupied', 1); } - $general->multiplyVarWithLimit('atmos', 1.1, null, GameConst::$maxAtmosByWar); + if($this->isAttacker()){ + $general->multiplyVarWithLimit('atmos', 1.1, null, GameConst::$maxAtmosByWar); + } + else{ + $general->multiplyVarWithLimit('atmos', 1.05, null, GameConst::$maxAtmosByWar); + } + $this->addStatExp(1); }