帮助你计算云顶中各种抽卡情况的概率计算器。现支持在给定等级和外部情况,使用“卡牌d”的策略时:
- 给定抽卡次数,抽出目标卡数量的分布
- 按抽足给定张数目标卡才停止抽卡的策略,所需抽卡次数的分布
下载,支持64位Windows7及以上系统。下载解压后用记事本打开./setting文件夹下的setting.ini文件,写入"tfthelper_zh_CN.qm",指明所需加载的翻译文件,然后启动即可。
使用时选择感兴趣的输出模式,输入相关参数即可计算。下图计算在7级抽4费卡,且已经抽出2张目标卡,3张其他同费卡的情况下,抽卡2次得到的目标卡张数的分布的例子。
下载./cli目录下的python脚本直接使用,或下载cpp文件自行编译后使用。
其支持的指令有
tfthelper -h
,或,tfthelper --help
, 帮助页面,获得简单的帮助文档tfthelper -r
, 或tfthelper --rtable
,获取官方的单次d牌概率表tfthelper -d <等级> <目标卡费用> <d牌次数> [已经取出的目标卡数] [已经取出的与目标卡同费用的其他卡数量]
, 打印d牌概率分布和相关统计量。[已经取出的目标卡数] [已经取出的与目标卡同费用的其他卡数量] 为可选参数,如不输入默认值为0tfthelper -s <等级> <目标卡费用> <停止抽卡所需目标卡数> [已经取出的目标卡数] [已经取出的与目标卡同费用的其他卡数量]
, 打印抽卡次数概率分布和相关统计量。[已经取出的目标卡数] [已经取出的与目标卡同费用的其他卡数量] 为可选参数,如不输入默认值为0
对于算法原理请看:./doc/草稿.pdf
This is an application that help you handle the probability of each situation in TeamFightTactics. It can do the math in those cases(given the level and other parameters, rolling without putting target tier card back policy):
- For given rolling times, what's the distribution of the number of target card you get?
- In the "roll until get x target cards" policy, what's the distribution of the rolling times you need?
Download,only for 64bits Windows7/8/10 system now.
Switch to the output random variable you want, fill the input parameters and run. Here is an example for how to get the distribution of how many target cards(Tier4) we get by rolling 2 times at lv7 with 2 of the target cards and 3 of other cards in the same tier have been drawn out.
Download the files in ./cli. There are python script and cpp source code for you. The are the same cli programme. The python script can be directly used, while the cpp one show be complied by yourself first.
The subcommands are listed below:
tfthelper -h or tfthelper --help
, help page.tfthelper -r
ortfthelper --rtable
, to get the rolling prob table.tfthelper -d <Level> <Tier> <#rolling> [#target drawn] [#same tier drawn(excluded #target drawn)]
, to get the distribution and statistics of how many the target cards you get.[#target drawn] [#same tier drawn(excluded #target drawn)] are optional argumentation with default value 0.tfthelper -s <Level> <Tier> <#target> [#target drawn] [#same tier drawn(excluded #target drawn)]
, to get the distribution and statistics of rolling times in "roll until get x target cards" policy. [#target drawn] [#same tier drawn(excluded #target drawn)] are optional argumentation with default value 0.
For how it works, see ./doc/draft_en.pdf.