Hello.
I am making a game and I am doing some base calculations/simulations with OOCalc to help me have a better idea of how I want things to work.
Right now, I am trying to simulate a "re-roll" of an item attribute where different attributes have different odds (chance of getting) than others.
Here's an example;
Spirit ----- 5% chance
Vigor ----- 5% chance
Agility ---- 15% chance
Vitality ----15% chance
Endurance-20% chance
Luck-------1% chance
Mana------20% chance
Power-----5% chance
Health----5% chance
Stamina--10% chance
This also can't repeat. The item has 5 attribute slots where each is different from the other.