포켓몬스터 전콘 안뜨는 문제 수정
This commit is contained in:
@@ -354,7 +354,7 @@ class Scenario{
|
|||||||
'npc_cnt'=>count($this->getNPC()),
|
'npc_cnt'=>count($this->getNPC()),
|
||||||
'npcEx_cnt'=>count($this->getNPCex()),
|
'npcEx_cnt'=>count($this->getNPCex()),
|
||||||
'npcNeutral_cnt'=>count($this->getNPCneutral()),
|
'npcNeutral_cnt'=>count($this->getNPCneutral()),
|
||||||
'nation'=>array_map(function($nation) use ($nationGeneralCnt, $nationGeneralExCnt){
|
'nation'=>array_map(function($nation) use ($nationGeneralCnt, $nationGeneralExCnt, $nationGeneralNeutralCnt){
|
||||||
$brief = $nation->getBrief();
|
$brief = $nation->getBrief();
|
||||||
$brief['generals'] = Util::array_get($nationGeneralCnt[$nation->getID()], 0);
|
$brief['generals'] = Util::array_get($nationGeneralCnt[$nation->getID()], 0);
|
||||||
$brief['generalsEx'] = Util::array_get($nationGeneralExCnt[$nation->getID()], 0);
|
$brief['generalsEx'] = Util::array_get($nationGeneralExCnt[$nation->getID()], 0);
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"npcMax": 90,
|
"npcMax": 90,
|
||||||
"chiefMin": 65
|
"chiefMin": 65
|
||||||
},
|
},
|
||||||
"iconPath": "pokemon_v1",
|
"iconPath": "포켓몬스터",
|
||||||
"fiction": 1,
|
"fiction": 1,
|
||||||
"nation":[
|
"nation":[
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user