Programming, Statistics.
simulation above, we achieve 6 items of 4-star rarity, not so bad for the beginner in gacha games! Let’s increase it to 70 simulations to see the differences. > x=runif(70) > rarity=3:5 > PDF=c(0.945,0.05,0.005) > sim=mc.sim(x,rarity,PDF) Gacha Simulation Table rarity PDF CDF 1 3 0.945 0.945 2 4