To change rarity, just add in multiples of the more common ones. So, if you want the chances to be 60% for common, 30% for uncommon and 10% for rare, just do:
(item1, item1, item1, item1, item1, item1, item2, item2, item2, item3)
Should be simple enough to do any percentage of chance you want.
|