kidfearless / Foundry-TrueRNG

MIT License
6 stars 4 forks source link

Got an impossible result. #10

Closed Haplo164 closed 3 years ago

Haplo164 commented 3 years ago

roll_0_on_d6 Not sure where the appropriate log would be but I didn't see anything in the 2 logs I could find.

kidfearless commented 3 years ago

It appears to be a bug with how foundry rounds dice rolls and might need to be reported to the foundry guys for them to fix in the base dice roller as well. What happened was a perfect 0.0 was returned from the random number generator. Since flat 0's and flat 1's are rare this probably hasn't happened much. I'll add a check for it, but it should really be addressed by foundry and not me.