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

舟往期限定的概率不太对 #72

Open
Reinhard9396 opened this issue Aug 11, 2022 · 1 comment
Open

舟往期限定的概率不太对 #72

Reinhard9396 opened this issue Aug 11, 2022 · 1 comment

Comments

@Reinhard9396
Copy link

S20812-05312109
实际上捞出往期限定的概率只有万分之几( ゚∀。)这个

@nyanshu
Copy link

nyanshu commented Aug 13, 2022

我也出现了这种情况,推测是程序对up池公告文本的解析出错了
此处为方舟up池数据文件.\date\draw_card\draw_card_up\prts_up_char.json原文件

{
    "char": {
        "title": "限定寻访·夏季-巨斧与笔尖",
        "pool_img": "https:\/\/ak.hycdn.cn\/announce\/images\/20220803\/32b482631fcda2d5ee45362f23f9e133.jpg",
        "start_time": "2022-08-11T16:00:00",
        "end_time": "2022-08-25T03:59:00",
        "up_char": [
            {
                "name": "百炼嘉维尔",
                "star": 6,
                "limited": false,
                "zoom": 0.7
            },
            {
                "name": "鸿雪",
                "star": 6,
                "limited": false,
                "zoom": 0.7
            },
            {
                "name": "假日威龙陈",
                "star": 6,
                "limited": false,
                "zoom": 5.0
            }
        ]
    }
}

通过和公告比对,程序应该是将权重为5当成概率为5,且将两个干员总概率为0.7当成分别为0.7,导致总概率大于1,因此不管怎么抽卡,六星都是up内容且极大概率是水陈
因为能力不允许我修改源码,我通过算出干员的实际概率手动数据文件临时解决了这个问题
修改后的数据文件:

{
    "char": {
        "title": "限定寻访·夏季-巨斧与笔尖",
        "pool_img": "https:\/\/ak.hycdn.cn\/announce\/images\/20220803\/32b482631fcda2d5ee45362f23f9e133.jpg",
        "start_time": "2022-08-11T16:00:00",
        "end_time": "2022-08-25T03:59:00",
        "up_char": [
            {
                "name": "百炼嘉维尔",
                "star": 6,
                "limited": false,
                "zoom": 0.35
            },
            {
                "name": "鸿雪",
                "star": 6,
                "limited": false,
                "zoom": 0.35
            },
            {
                "name": "假日威龙陈",
                "star": 6,
                "limited": false,
                "zoom": 0.03
            }
        ]
    }
}

修改后抽卡六星恢复正常
要从根源上解决问题(修改解析文本的代码),还得等作者大大的更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants