From ba0439ece25d51b5b68d28029460e9702ec5cf2c Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 20 Feb 2018 01:34:44 +0900 Subject: [PATCH] =?UTF-8?q?tm=EC=84=9C=EB=B2=84=EC=97=90=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9=EB=90=9C=20=ED=8C=A8=EC=B9=98=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EC=9D=84=20=EA=B0=99=EC=9D=B4=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/join.php | 92 ++++++++++++++++++++++++++++++++++++--------- twe/process_war.php | 2 + 2 files changed, 77 insertions(+), 17 deletions(-) diff --git a/twe/join.php b/twe/join.php index 2e6a47e5..f1471aeb 100644 --- a/twe/join.php +++ b/twe/join.php @@ -32,42 +32,66 @@ $connect = dbConn(); diff --git a/twe/process_war.php b/twe/process_war.php index ef9726c6..89a9ae7d 100644 --- a/twe/process_war.php +++ b/twe/process_war.php @@ -1544,6 +1544,8 @@ function getCrewtypeRice($game, $crewtype, $tech) { function getAtt($game, $general, $tech, $lbonus) { $att = getRate($game, $general['crewtype'], "att") + getTechAbil($tech); + + $general['lbonus'] = $lbonus; if(floor($general['crewtype']/10) == 3) { // 귀병 지100% $ratio = getGeneralIntel($general, true, true, true)*2 - 40;