diff --git a/che_close/_simul.php b/che_close/_simul.php index 389aefc..7790a72 100644 --- a/che_close/_simul.php +++ b/che_close/_simul.php @@ -98,7 +98,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); @@ -289,9 +289,9 @@ if($isgen == "장수공격" || $isgen == "성벽공격" || $isgen == "장수평 while($phase < $warphase) { $phase++; - $myAtt = getAtt($game, $general, $tech1); + $myAtt = getAtt($game, $general, $tech1,0); $myDef = getDef($game, $general, $tech1); - $opAtt = getAtt($game, $oppose, $tech2); + $opAtt = getAtt($game, $oppose, $tech2,0); $opDef = getDef($game, $oppose, $tech2); // 감소할 병사 수 $myCrew = $_armperphase + $opAtt - $myDef;