Skip to content

Commit

Permalink
html update
Browse files Browse the repository at this point in the history
  • Loading branch information
OneBST committed Nov 2, 2024
1 parent 5f2d3d8 commit ae557bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _sources/start_using/check_gacha_plan.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
total_w += num_w
total_pulls += task_pulls
ans_dist *= ZZZ.up_5star_character(num_c) * ZZZ.up_5star_weapon(num_w)
ans_dist.dist = ans_dist.dist[:total_pulls+1]
ans_dist = FiniteDist(ans_dist[:total_pulls+1])
print("成功概率", sum(ans_dist.dist))
ans_dist = ans_dist.normalized() # 归一化
print("成功玩家期望抽数消耗", ans_dist.exp)
Expand Down
Loading

0 comments on commit ae557bc

Please sign in to comment.