Question:New guy problems. I’m a Roleplaying game geek attempting to make a character builder. There are four attributes (Strength Agility Wits and Empathy). I’m attempting to assign numbers to each of these attributes randomly BUT you only get eight (8) total points to work with so you have to iteratively subtract them as their numbers are assigned. Here was my lame attempt. Didn’t work. Do i need a For loop somewhere?
Answer:An easier route is to distribute the 8 points randomly among the 4 stats:
If you have better answer, please add a comment about this, thank you!