From aef37f436204fbdc556c46ab6f8283d9ef6c2250 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 18 Jul 2018 04:18:15 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A7=95=EB=AA=A8=EB=B3=91=EC=B0=BD=20?= =?UTF-8?q?=EB=B3=80=EC=88=98=EB=AA=85=20=EC=97=90=EB=9F=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/processing.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hwe/processing.php b/hwe/processing.php index 6979ff25..3cf135ae 100644 --- a/hwe/processing.php +++ b/hwe/processing.php @@ -206,7 +206,7 @@ function command_11($turn, $command, bool $is모병 = false) { [$nationLevel, $tech] = $db->queryFirstList('SELECT level,tech FROM nation WHERE nation=%i', $me['nation']); - $lbonus = setLeadershipBonus($general, $nationLevel); + $lbonus = setLeadershipBonus($me, $nationLevel); $ownCities = []; $ownRegions = []; @@ -219,7 +219,7 @@ function command_11($turn, $command, bool $is모병 = false) { $ownRegions[$city['region']] = 1; } - $leader = getGeneralLeadership($general, true, true, true); + $leader = getGeneralLeadership($me, true, true, true); $maxCrew = $leader - Util::round($me['crew']/100); $abil = getTechAbil($nation['tech']); @@ -304,10 +304,10 @@ function command_11($turn, $command, bool $is모병 = false) { 'techLevelText'=>getTechCall($tech), 'tech'=>$tech, 'leader'=>$leader, - 'crewTypeName'=>GameUnitConst::byId($general['crewtype'])->name, - 'crew'=>$general['crew'], + 'crewTypeName'=>GameUnitConst::byId($me['crewtype'])->name, + 'crew'=>$me['crew'], 'maxCrew'=>$maxCrew, - 'gold'=>$general['gold'], + 'gold'=>$me['gold'], 'turn'=>$turn, 'armTypes'=>$armTypes, ]);