The following algorithm was designed to match the Arknights RNG system that also included a "pity" system that increases the rate should the RNG fail to get the target drop rate on a specified number of failed rolls.
The following algorithm was designed to match the Arknights RNG system that also included a "pity" system that increases the rate should the RNG fail to get the target drop rate on a specified number of failed rolls.