@InterAction_studios I suggest using normalisations but to the previous largest ratio:
+) Example: Usage of 0,4 : 0,3 : 0,2 : 0,1 (arranged from high to low)
- 0,4 results in 1% bonus
- 0,3 results in (0,3/0,4) x 1% = 0,75% bonus
- 0,2 results in (0,2/0,3) x 1% = 0,67% bonus
- 0,1 results in (0,1/0,2) x 1% = 0,5% bonus
- Total bonus: 1 + 0,75 + 0,67 + 0,5 = 2,92%
+) Example: Usage of 0,4 : 0,2 : 0,2 : 0,2 (more balanced than above ratio I think)
- 0,4 results in 1% bonus
- 0,2 results in (0,2/0,4) x 1% = 0,5% bonus
- 0,2 results in (0,2/0,2) x 1% = 1% bonus
- 0,2 results in (0,2/0,2) x 1% = 1% bonus
- Total bonus: 1 + 0,5 + 1 + 1 = 3,5%
+) Example: 0,4 : 0,2 : 0,2 : 0,1 : 0,1 (more weapons, should results in larger bonus)
- 0,4 → 1%
- 0,2 → 0,5%
- 0,2 → 1%
- 0,1 → 0,5%
- 0,1 → 1%
- Total: 4% (hell yes)
+) Example: 0,4 : 0,2 : 0,1 : 0,1 : 0,1 : 0,1
→ Total 1 + 0,5 + 0,5 + 1 + 1 + 1 = 5% (hell yes)
+) Example: 0,3 : 0,2 : 0,2 : 0,1 : 0,1 : 0,1 (more balanced)
→ Total 1 + 0,67 + 1 + 0,5 + 1 + 1 = 5,17% (hell yes)
+) Example : 0,2 : 0,2 : 0,2 : 0,2 : 0,1 : 0,1 (even more balanced)
→ Total 1 + 1 + 1 + 1 + 0,5 + 1 = 5,5% (hell yes)
If you pick up a 7th weapon and use it least, the relative proportion of each previous ratio pair remains the same, so the total bonus will definately increase.
What if you picked up a new weapon and not used it least? Let’s consider the example below:
+) You used 4 weapons in ratio 0,3 : 0,3 : 0,2 : 0,2 and the current total bonus is 1 + 1 + 0,67 + 1 = 3,67%
+) You later picked up a 5th weapon and finally used it for 20% of the remaining mission time. The ratio 0,3 : 0,3 : 0,2 : 0,2 is now recalculated to the 80% first time of the mission, which result in the final usage ratio of 0,24 : 0,24 : 0,16 : 0,16 : 0,2.
+) Let’s rearrange it to 0,24 : 0,24 : 0,2 : 0,16 : 0,16. Now the final total bonus is 1 + 1 + 0,83 + 0,8 + 1 = 4,63% (woohoo!)
+) If you used the 5th weapon for 40% of the time, the new ratio will be 0,18 : 0,18 : 0,12 : 0,12 : 0,4, rearranged to 0,4 : 0,18 : 0,18 : 0,12 : 0,12. The new bonus will be 1 + 0,45 + 1 + 0,67 + 1 = 4,12% (which is larger than 3,67% and smaller than 4,63%!)
Consider a very unbalanced ratio of 0,8 : 0,1 : 0,1 → 1 + 0,125 + 1 = 2,125% bonus (rounded to 2,13%)
If you picked up a 4th weapon and just used it 10% last game, the new ratio will be 0,72 : 0,09 : 0,09 : 0,1; rearranged to 0,72 : 0,1 : 0,09 : 0,09 → The new bonus is 1 + 0,14 + 0,9 + 1 = 3,04% (still good huh?)
So generally you will have to rearrange usage ratio to x : y : z : t… (x > y > z > t > …), then the function will be (1 + y/x + z/y + t/z + …) x 1%. This ensure that:
+) Bigger gaps in the usage ratio (which imply unbalance) will result in smaller proportion of maximum 1% bonus added.
+) Every usage percentage will participate in the function as a variable, not only the highest one like yours.
+) Every new weapon picked up will add to the total bonus, since it add a proportion in the function.
+) If you used n weapons, the bonus range will be (n-1)% to n%. This mean the number of weapons used is considered prior to the balance of the usage. The usage balance will only determine the exact value in that range, near (n-1)% for unbalanced usage and almost n% for balanced usage.