From 4c17e908cafe0cdb4189154a0e0240a8fabe6e47 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 17 Jan 2018 19:59:59 +0900 Subject: [PATCH] =?UTF-8?q?=5Fsimul=20=EB=A7=88=EC=A0=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EC=84=B1=EB=B2=BD=20=EA=B3=B5=EA=B2=A9=20=EA=B0=80?= =?UTF-8?q?=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twe/_simul.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/twe/_simul.php b/twe/_simul.php index 1bf64b65..795c29e9 100644 --- a/twe/_simul.php +++ b/twe/_simul.php @@ -120,6 +120,9 @@ if($isgen == "장수공격" || $isgen == "성벽공격" || $isgen == "장수평 $city['def'] = $def; $city['wall'] = $wall; + $city['agri'] = 0; + $city['comm'] = 0; + $city['secu'] = 0; if($isgen == "장수공격" || $isgen == "장수평균") { $opposecount = 1; @@ -148,7 +151,7 @@ if($isgen == "장수공격" || $isgen == "성벽공격" || $isgen == "장수평 $mykillnum = 0; $mydeathnum = 0; while($phase < $warphase) { $phase++; - $myAtt = getAtt($game, $general, $tech1); + $myAtt = getAtt($game, $general, $tech1, 0); $myDef = getDef($game, $general, $tech1); $cityAtt = getCityAtt($city); $cityDef = getCityDef($city);