Item Upgrade Slot questions

Amazing script so far!

I want to make all weapons and armors have a random chance to have 0-10 slots. When I set the default to 0 everything will always have none. When the default is set to 1, some weapons say "0/1" (which I am guessing is 0). 

What I actually want is for 0 to be common and for every slot it will be more and more rare to find one in the wild with 0 upgrade slots and for it to not look weird when it has 0.

Original thread: https://forums.rpgmakerweb.com/threads/item-upgrade-slot-questions.46600/