07 Mar, 2010, arholly wrote in the 1st comment:
Votes: 0
Hello:
I'm making a class where every 4 levels, they randomly gain +2 in two stats and -4 in one stat. Now, I need to make sure they are not picking the same stat. Any thoughts on the best way to handle this or how to handle it?

Thanks in advance for any help.

Best Regards,
Arholly
07 Mar, 2010, David Haley wrote in the 2nd comment:
Votes: 0
A simple way would be to have two variables, pick the first randomly, stick it into the first variable, and then loop while picking the second variable until you find something that's not in the first one, and finally for the third loop until you have something that's not the first or the second. More generally store the previous results in an array, and loop over the array while checking if the value is ok, so that you can do this for any number of stats.
0.0/2