병종에 정보 텍스트 포함.
징병, 모병 페이지 내용을 GameUnitConst, GameUnitDetail에 기반하도록 변경 - 추가로 금,쌀을 소수점을 포함하도록 변경
This commit is contained in:
@@ -25,7 +25,8 @@ class GameUnitDetail{
|
||||
int $rice,
|
||||
int $recruitType,
|
||||
int $recruitCondition,
|
||||
bool $recruitFirst
|
||||
bool $recruitFirst,
|
||||
array $info
|
||||
){
|
||||
$this->name = $name;
|
||||
$this->attack = $attack;
|
||||
@@ -37,6 +38,7 @@ class GameUnitDetail{
|
||||
$this->recruitType = $recruitType;
|
||||
$this->recruitCondition = $recruitCondition;
|
||||
$this->recruitFirst = $recruitFirst;
|
||||
$this->info = $info;
|
||||
}
|
||||
|
||||
public function isValid($ownCities, $ownRegions, $relativeYear, $tech){
|
||||
|
||||
Reference in New Issue
Block a user