전투 엔진 버그 1차 수정

This commit is contained in:
2018-08-21 00:53:00 +09:00
parent 513124161e
commit d0ca46cfde
4 changed files with 27 additions and 26 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ class WarUnitGeneral extends WarUnit{
return $this->getVar('name');
}
function getCityVar(string $key):array{
function getCityVar(string $key){
return $this->rawCity[$key];
}
@@ -88,7 +88,7 @@ class WarUnitGeneral extends WarUnit{
if($this->getSpecialWar() == 60){
$phase += 1;
}
return $phase + $bonusPhase;
return $phase + $this->bonusPhase;
}
function addTrain(int $train){