Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

格式转换代码存在问题 #44

Open
oTnTh opened this issue Oct 7, 2022 · 0 comments
Open

格式转换代码存在问题 #44

oTnTh opened this issue Oct 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@oTnTh
Copy link

oTnTh commented Oct 7, 2022

ToolboxMain.py的119行处:

            res = {'name': ArtNames[SetNamesGOOD.index(item['setKey'])][TypeNamesGOOD.index(item['slotKey'])],

当处理诸如祭水等一套只有一件的圣遗物时,会报告list index out of range

其他几个转换函数应该也有同样的问题。

将ArtsInfo.py的97行开始改成这样应该就可以了:

    ["", "", "", "", "祭水礼冠"],
    ["", "", "", "", "祭火礼冠"],
    ["", "", "", "", "祭雷礼冠"],
    ["", "", "", "", "祭冰礼冠"],
@daydreaming666 daydreaming666 added the bug Something isn't working label Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants