Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion !src-dist/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def process_changelog_input(changelog_input: str) -> List[str]:
else:
# 转换 插件:内容 或 插件:内容 格式为 * [插件] 内容
if re.search(r"[::]", line):
parts = re.split(r"[::]", line, 1)
parts = re.split(r"[::]", line, maxsplit=1)
plugin = parts[0].strip().strip('"').strip('"').strip('"')
content = (
parts[1].strip().strip('"').strip('"').strip('"')
Expand Down
7 changes: 3 additions & 4 deletions MY_Toolbox/src/MY_Taoguan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,12 @@ function D.MonitorZP(szChannel, szMsg)
end

function D.OnLootItem()
if not D.bEnable then
return
end
if arg0 == X.GetClientPlayer().dwID and arg2 > 2 and GetItem(arg1).szName == MEILIANGYUQIAN then
D.nPoint = 0
D.bWaitPoint = false
X.OutputSystemAnnounceMessage(_L['Auto taoguan: score clear!'])
if D.bEnable then
X.OutputSystemAnnounceMessage(_L['Auto taoguan: score clear!'])
end
end
end

Expand Down