Skip to main content

Module sampling

Module sampling 

Source

Functions§

ppm_proc_chance
Converts a classic procs-per-minute rate into one swing’s proc probability.
proc_chance
Rolls a proc with the given fractional probability.
roll_range
Draws uniformly from the closed interval [low, high], mirroring SimC’s rng().range(a, b).
roll_tier
Returns the index of the first cumulative threshold above the RNG draw.
shuffle_pick
Moves up to n randomly selected items to the front of items.