From 88247851f41edbda268808557bbd8fe52f751ed9 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 21 Aug 2018 12:23:19 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A7=95=EB=B3=91=20=EC=A0=84=ED=8A=B9?= =?UTF-8?q?=EC=9D=80=20=EC=88=9C=EC=88=98=20=ED=86=B5=EC=86=94=EC=97=90?= =?UTF-8?q?=EC=84=9C=2015%=20=EB=B3=B4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_process.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hwe/func_process.php b/hwe/func_process.php index 30f2ced6..fe531577 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -21,6 +21,12 @@ function getGeneralLeadership(&$general, $withInjury, $withItem, $withStatAdjust $leadership *= (100 - $general['injury']) / 100; } + if($withStatAdjust){ + if($general['special2'] == 72){ + $leadership *= 1.15; + } + } + if(isset($general['lbonus'])){ $leadership += $general['lbonus']; }