history 타입들을 text에서 mediumtext로 변경
시나리오 생성 시 장수수 처리 수정
This commit is contained in:
@@ -242,6 +242,9 @@ class Scenario{
|
||||
$remainGenerals = [];
|
||||
foreach($this->generals as $general){
|
||||
if($general->build($env)){
|
||||
if($general->nationID){
|
||||
$this->nations[$general->nationID]->addGeneral($general);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -256,6 +259,9 @@ class Scenario{
|
||||
if($env['extended_general']){
|
||||
foreach($this->generalsEx as $general){
|
||||
if($general->build($env)){
|
||||
if($general->nationID){
|
||||
$this->nations[$general->nationID]->addGeneral($general);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -320,6 +326,14 @@ class Scenario{
|
||||
];
|
||||
}
|
||||
|
||||
foreach($this->nations as $id=>$nation){
|
||||
if($id == 0){
|
||||
continue;
|
||||
}
|
||||
|
||||
$nation->postBuild($env);
|
||||
}
|
||||
|
||||
$this->buildDiplomacy($env);
|
||||
|
||||
foreach($this->initialEvents as $event){
|
||||
|
||||
Reference in New Issue
Block a user