city의 officer를 general로 이동

This commit is contained in:
2020-04-18 03:57:58 +09:00
parent b8c28e0a89
commit 16f2c9fb42
98 changed files with 680 additions and 889 deletions
+3 -3
View File
@@ -49,10 +49,10 @@ function CriticalRatioDomestic(General $general, string $type) {
);
}
function calcLeadershipBonus($generalLevel, $nationLevel):int{
if($generalLevel == 12) {
function calcLeadershipBonus($officerLevel, $nationLevel):int{
if($officerLevel == 12) {
$lbonus = $nationLevel * 2;
} elseif($generalLevel >= 5) {
} elseif($officerLevel >= 5) {
$lbonus = $nationLevel;
} else {
$lbonus = 0;