[cac19cad4d]수비 우선 순위를 부상여부, 수뇌여부, 훈사 여부를 반영하도록 변경

This commit is contained in:
2019-04-07 19:48:51 +09:00
parent af9cbb47ef
commit de96aad086
+10 -9
View File
@@ -173,15 +173,16 @@ function extractBattleOrder($general){
return 0; return 0;
} }
return ( $staticNation = getNationStaticInfo($general['nation']);
$general['leader'] + setLeadershipBonus($general, $staticNation['level']);
$general['power'] +
$general['intel'] + $totalStat =
getWeapEff($general['weap']) + getGeneralLeadership($general, true, true, true, true) +
getHorseEff($general['horse']) + getGeneralPower($general, true, true, true, true) +
getBookEff($general['book']) + getGeneralIntel($general, true, true, true, true);
$general['crew'] / 100
); $totalCrew = $general['crew'] / 10000 * $general['train'] * $general['atmos'];
return $totalStat + $totalCrew / 100;
} }
function processWar_NG( function processWar_NG(