_simul 마저 수정 성벽 공격 가능
This commit is contained in:
+4
-1
@@ -120,6 +120,9 @@ if($isgen == "장수공격" || $isgen == "성벽공격" || $isgen == "장수평
|
|||||||
|
|
||||||
$city['def'] = $def;
|
$city['def'] = $def;
|
||||||
$city['wall'] = $wall;
|
$city['wall'] = $wall;
|
||||||
|
$city['agri'] = 0;
|
||||||
|
$city['comm'] = 0;
|
||||||
|
$city['secu'] = 0;
|
||||||
|
|
||||||
if($isgen == "장수공격" || $isgen == "장수평균") {
|
if($isgen == "장수공격" || $isgen == "장수평균") {
|
||||||
$opposecount = 1;
|
$opposecount = 1;
|
||||||
@@ -148,7 +151,7 @@ if($isgen == "장수공격" || $isgen == "성벽공격" || $isgen == "장수평
|
|||||||
$mykillnum = 0; $mydeathnum = 0;
|
$mykillnum = 0; $mydeathnum = 0;
|
||||||
while($phase < $warphase) {
|
while($phase < $warphase) {
|
||||||
$phase++;
|
$phase++;
|
||||||
$myAtt = getAtt($game, $general, $tech1);
|
$myAtt = getAtt($game, $general, $tech1, 0);
|
||||||
$myDef = getDef($game, $general, $tech1);
|
$myDef = getDef($game, $general, $tech1);
|
||||||
$cityAtt = getCityAtt($city);
|
$cityAtt = getCityAtt($city);
|
||||||
$cityDef = getCityDef($city);
|
$cityDef = getCityDef($city);
|
||||||
|
|||||||
Reference in New Issue
Block a user