Calsir wrote:
DieResult = Math.floor(1 + Math.random()*6);
It does remind me of a certain odds calculator, located in a certain game on a certain site. JS again.
They all look the same 
Besides, I am looking at the source of _that_ page... I cannot find the source of the js function... Only the call.
It is a native javascript function. How it is implemented depends on your browser. |