forked from devsam/core
모,징병시 특성 병종이 2000 만 넘어도 뜨는 문제 해결
This commit is contained in:
@@ -397,9 +397,6 @@ function getBill(int $dedication) : int{
|
||||
}
|
||||
|
||||
function getCost(int $armtype) : int {
|
||||
//FIXME: 정말로 side effect가 없으려면 query는 밖으로 이동해야함.
|
||||
//TODO: 병종 값이 column으로 들어있는건 전혀 옳지 않음. key->value 형태로 바꿔야함
|
||||
|
||||
return GameUnitConst::byID($armtype)->cost;
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ class GameUnitDetail{
|
||||
if(!key_exists($this->recruitCondition, $ownCities)){
|
||||
return false;
|
||||
}
|
||||
if($cityLevel == '특'){
|
||||
if($cityLevel == CityConst::$levelMap['특']){
|
||||
if ($tech < 3000) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user