feat: scenarioEffect 추가
- 모든 General에 iAction으로 작동
This commit is contained in:
@@ -508,6 +508,13 @@ class Scenario{
|
||||
throw new \RuntimeException('유닛 파일이 올바르게 지정되지 않음! : '.$unitSet);
|
||||
}
|
||||
|
||||
if(key_exists('scenarioEffect', $this->gameConf)){
|
||||
$className = getScenarioEffectClass($this->gameConf['scenarioEffect']);
|
||||
if($className === 'None'){
|
||||
$this->gameConf['scenarioEffect'] = null;
|
||||
}
|
||||
}
|
||||
|
||||
Util::generatePHPClassFile($path.'/GameConst.php', $this->gameConf, 'GameConstBase', 'sammo');
|
||||
|
||||
copy("$mapPath/$mapName.php", $path.'/CityConst.php');
|
||||
|
||||
Reference in New Issue
Block a user