alattalatta / Monoworld

Monorepo for RimWorld mods
GNU Lesser General Public License v3.0
5 stars 3 forks source link

multipliers are added together making certain infusion combinations OP #12

Open inikishev opened 2 years ago

inikishev commented 2 years ago

So lets say I have an infusion that makes fire rate 10x faster with 0.1x damage. For damage I put this:

            <li>
                <key>RangedWeapon_DamageMultiplier</key>
                <value>
                    <multiplier>-0.9</multiplier>
                </value>
            </li>

now the issue appears when this infusion gets combined with a different one that increases the RangedWeapon_DamageMultiplier. For example I have an infusion that has <multiplier>0.2</multiplier>, not that strong on it's own. But when I combine those two infusions, the 0.1+0.2 multipliers get combined into 0.3x damage, my damage is tripled from 0.1 to 0.3 from a single infusion with just 0.2x damage increase. It would be useful for balancing if there was an option where multipliers don't get combined, so it would be 0.1 * 1.2 = 0.12x damage. The 10x fire rate infusion opens up a lot of possibilities in terms of synergies with weapons and other complex infusions but it is unfortunately impossible to balance because of how multipliers are combined. Or maybe an option to prevent other infusions to appear with this one.

alattalatta commented 2 years ago

Despite I got your point, default infusions (that is, infusions included in the base mod) and default settings were set with this in mind, so there shouldn't be any extreme case like this.

Infusion 2's option is already complex, so I won't add one. I might consider making multipliers having diminishing effect. No ETA.

inikishev commented 2 years ago

Despite I got your point, default infusions (that is, infusions included in the base mod) and default settings were set with this in mind, so there shouldn't be any extreme case like this.

Infusion 2's option is already complex, so I won't add one. I might consider making multipliers having diminishing effect. No ETA.

I am making an addon and I don't know how to balance the rapid fire yet, using offsets will either make snipers or machine guns OP because of how offset doesn't scale with weapon damage. https://github.com/idkman2021/Rimworld-TInfusions