Fix rand strict type error
Fix rand strict type error

Use `IRound` in `getWeightedRandom` because the arguments to `rand`
must be integers. This is an addendum to f73165b60.

smrealms/smr,hemberger/smr,hemberger/smr,hemberger/smr,hemberger/smr,smrealms/smr,smrealms/smr