Though part of my question has been answered in this thread;
Finding all possible combinations of numbers to reach a given sum
there is one further function I'm looking for.
Scrolling down on that page for the ruby solution and more importantly the final line,
subset_sum([3,9,8,4,5,7,10],15)
I was wondering how you would go through multiple arrays, picking just one number from each array and coming to a set value. The reason I ask is because I play a game called Heroclix. Each piece has a certain point value attributed to it and players make teams in multiples of one hundreds. What I'm looking to avoid is using the same named character more than once in a team, just because they just so happen to have various point costs.