시뮤레이션 기능 임시 활성화
(특기, 숙련 관련이 예전버전임)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user