feat: InstantAction 개념 추가

This commit is contained in:
2023-08-05 07:54:55 +00:00
parent 7258573e4d
commit 895b134cd0
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -515,6 +515,11 @@ class Scenario{
}
}
$this->gameConf['availableInstantAction'] = array_merge(
GameConstBase::$defaultInstantAction,
$this->gameConf['availableInstantAction']??[]
);
Util::generatePHPClassFile($path.'/GameConst.php', $this->gameConf, 'GameConstBase', 'sammo');
copy("$mapPath/$mapName.php", $path.'/CityConst.php');