It doesnr just roll dice. There is a formula. Variables. A rng doesnt do anything without having a possible outcome for every way the formula can be solved.