전투 엔진 버그 1차 수정
This commit is contained in:
1 parent
a478200549
commit
e6595a5e77
4 files changed
+27
-26
No files matched your search
@@ -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){
|
||||
|
||||
Reference in new issue
Block a user