history 타입들을 text에서 mediumtext로 변경

시나리오 생성 시 장수수 처리 수정
This commit is contained in:
2018-04-01 23:31:37 +09:00
parent e1f646daa5
commit a70bf667a4
6 changed files with 32 additions and 9 deletions
+14
View File
@@ -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){