_simul 마저 수정 성벽 공격 가능

This commit is contained in:
2018-01-17 19:59:59 +09:00
parent 4823e0de54
commit 4c17e908ca
+4 -1
View File
@@ -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);