how exactly do Vriska's dice calculate the final result?

Luck?