fix(MAA): 修复技巧概要·卷1等技能书不能被掉落统计正确统计。

This commit is contained in:
2025-03-26 14:26:06 +08:00
parent ba9855c616
commit 273fbe2261
2 changed files with 3 additions and 3 deletions

View File

@@ -529,7 +529,7 @@ class AppConfig:
if current_stage: if current_stage:
item_match: List[str] = re.findall( item_match: List[str] = re.findall(
r"^(?!\[)([\u4e00-\u9fa5A-Za-z0-9\-]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?", r"^(?!\[)([\u4e00-\u9fa5A-Za-z0-9·\-]+)\s*:\s*([\d,]+)(?:\s*\(\+[\d,]+\))?",
line, line,
re.M, re.M,
) )

View File

@@ -1305,8 +1305,8 @@ class MaaManager(QObject):
Notify.send_mail("网页", title, message_html) Notify.send_mail("网页", title, message_html)
# ServerChan的换行是两个换行符。故而将\n替换为\n\n # ServerChan的换行是两个换行符。故而将\n替换为\n\n
severchan_message = message_text.replace("\n", "\n\n") serverchan_message = message_text.replace("\n", "\n\n")
Notify.ServerChanPush(title, f"{severchan_message}\n\nAUTO_MAA 敬上") Notify.ServerChanPush(title, f"{serverchan_message}\n\nAUTO_MAA 敬上")
Notify.CompanyWebHookBotPush(title, f"{message_text}\n\nAUTO_MAA 敬上") Notify.CompanyWebHookBotPush(title, f"{message_text}\n\nAUTO_MAA 敬上")
elif mode == "公招六星": elif mode == "公招六星":