시나리오마다 별도로 스탯 제한치를 설정 가능하도록 변경

This commit is contained in:
2018-05-21 05:10:44 +09:00
parent 2c3e577c4e
commit bf233f7552
16 changed files with 176 additions and 193 deletions
+2 -4
View File
@@ -7,11 +7,9 @@ $loader->addPsr4('sammo\\', __DIR__.'/sammo', true);
$loader->addClassMap((function () {
$d_settingMap = [];
foreach (glob(__dir__.'/d_setting/*.php') as $filepath) {
foreach (glob(__dir__.'/d_setting/*.orig.php') as $filepath) {
$filepath = str_replace('.orig.php', '.php', $filepath);
$filename = basename($filepath);
if (Util::ends_with($filename, '.orig.php')) {
continue;
}
$classname = explode('.', $filename)[0];
$d_settingMap['sammo\\'.$classname] = $filepath;
};