This commit is contained in:
辉鸭蛋
2024-10-14 22:30:02 +08:00
parent 229127126b
commit b23cb3bb59
2 changed files with 4 additions and 4 deletions

View File

@@ -15,8 +15,8 @@ function convertNewlines(text) {
function extractInfoFromCombatFile(filePath) {
const content = fs.readFileSync(filePath, 'utf8');
const authorMatch = content.match(/\/\/\s*作者:(.*)/);
const descriptionMatch = content.match(/\/\/\s*描述:(.*)/);
const authorMatch = content.match(/\/\/\s*作者\s*:(.*)/);
const descriptionMatch = content.match(/\/\/\s*描述\s*:(.*)/);
const characterMatches = content.match(/^(?!\/\/).*?(\S+)(?=\s|$)/gm);
const tags = [...new Set(characterMatches || [])]

View File

@@ -1,5 +1,5 @@
//作者黎普Lips
//描述推荐配队(钟离/夜兰/班尼特/万叶/希诺宁)五选三+仆人,希诺宁入队注意队内需要有至少非岩非风两种元素,否则无减抗无奶
//作者:黎普Lips
//描述:推荐配队(钟离/夜兰/班尼特/万叶/希诺宁)五选三+仆人,希诺宁入队注意队内需要有至少非岩非风两种元素,否则无减抗无奶
仆人 e
钟离 s(0.1),e(hold)