^^^THIS. No programmer is going to waste time creating special RNG routines. I guarantee they all use whatever RNG is in their software library. For "smart loot" you look first at the character's class, then tell the RNG to roll and apply the number that was rolled to the loot table for that class. You don't screw around with a function that is so easily accessible in every known computer language library unless you happen to be an academic type working on creating better/more efficient/whatever RNG tools..