전투 공식 핫픽스
This commit is contained in:
+1
-1
@@ -668,7 +668,7 @@ function processWar($general, $city) {
|
|||||||
$myDef = $generalCrewType->getComputedDefence($general, $nation['tech']);
|
$myDef = $generalCrewType->getComputedDefence($general, $nation['tech']);
|
||||||
|
|
||||||
$opAtt = $opposeCrewType->getComputedAttack($oppose, $destnation['tech']);
|
$opAtt = $opposeCrewType->getComputedAttack($oppose, $destnation['tech']);
|
||||||
$opDef = $opposeCrewType->getComputedAttack($oppose, $destnation['tech']);
|
$opDef = $opposeCrewType->getComputedDefence($oppose, $destnation['tech']);
|
||||||
// 감소할 병사 수
|
// 감소할 병사 수
|
||||||
$myCrew = GameConst::$armperphase + $opAtt - $myDef;
|
$myCrew = GameConst::$armperphase + $opAtt - $myDef;
|
||||||
$opCrew = GameConst::$armperphase + $myAtt - $opDef;
|
$opCrew = GameConst::$armperphase + $myAtt - $opDef;
|
||||||
|
|||||||
Reference in New Issue
Block a user