fix: m장, 의병장 숙련이 설정되지 않는 버그 수정

This commit is contained in:
2021-09-04 03:42:09 +09:00
parent 7cd40fca03
commit e64812da72
+1 -2
View File
@@ -459,7 +459,7 @@ class GeneralBuilder{
} }
} }
if($this->dex1 === null){ if(!$this->dex1 && in_array('dex_t', $avgGen)){
$dexTotal = $avgGen['dex_t']; $dexTotal = $avgGen['dex_t'];
if ($pickType == '무') { if ($pickType == '무') {
$dexVal = Util::choiceRandom([ $dexVal = Util::choiceRandom([
@@ -636,7 +636,6 @@ class GeneralBuilder{
$this->cityID = $cityObj['id']; $this->cityID = $cityObj['id'];
} }
$experience = $this->experience?:$age * 100; $experience = $this->experience?:$age * 100;
$dedication = $this->dedication?:$age * 100; $dedication = $this->dedication?:$age * 100;
$officerLevel = $this->officerLevel; $officerLevel = $this->officerLevel;