I have a weapon with about 20 different possible variables for stats affixes such as speed, attack, defense, etc.
I want to randomly choose 3 of those variables and upgrade it by +1.
Problem is, that it may randomly choose that variable three times and I'll only end up with +1 upgrade instead of 3 separate ones.
Is there a way to choose a variable but exclude it from the picking process once it has been chosen the first time?