In the game I'm balancing, weapons can spawn with modifiers that boost damage. There are 7 of these modifiers. Each modifier adds 12% damage or so by itself. The more modifiers the rarer the weapon is. I'd like to make it so the guys with 3 modifier weapons aren't completely stomped by guys with 4+ modifier weapons. I'd like to implement some form of decreasing returns from more modifiers.
Ideally, I want something like:
1 mod no penalty
2 mods still much better than 1 mod
3 mods better than 2 mods
4 mods only a little better than 3 mods
5 mods a tiny amount better than 4 mods
6 minuscularly better than 5 mods
7 these weapons exist but aren't really better than 6s due to other mechanics so don't need additional nerfing.
I need a function that starts at 1 and decays to .75