With the way I have gear set up in my project, I want the damage reduction from element rate to be additive so that say, 2 pieces of gear that give a 50% resistance to fire damage, when equipped together, will result in completely nullifying fire damage rather than a 75% resistance to fire damage.
How can I made element rate from different gear additive?
RPG Maker MV SupportDid you Google it? I know I've seen people drop code to do that before.
Here:
forums.rpgmakerweb.com
Here:
Turning elemental rates into elemental resistances?
Hi! I am looking for a way to change elemental rates, at the moment they are multiplying with each other and 110% means the actor/enemy will take MORE damage. What I want is, that I can give an item 110% (for example) Fire Rate, it will add 10% Resistance against the element fire. If an item...
forums.rpgmakerweb.com
The reason this happens, is because that 50% is not elemental resistance. It is the elemental rate. That 50% is not how much you block, it is how much you take.
In the case of 50%, it doesn't make much of a difference, but lets say you had it set to 70%, then you wouldn't resist 70% of the damage, but you would still take 70% damage.
So, back to the 50%... If you have 2 pieces of armor both setting the rate to 50%, it will actually get set to 50% of 50% of the original damage. An easier way to say that: It will be set to half of half the damage.
0.5 * 0.5 = 0.25
50% * 50% = 25%
I hope this helps you understand the difference between elemental rate and elemental resistance a bit better. I know it isn't a solution, but ATT_Turan already gave one that would probably work. 😛
In the case of 50%, it doesn't make much of a difference, but lets say you had it set to 70%, then you wouldn't resist 70% of the damage, but you would still take 70% damage.
So, back to the 50%... If you have 2 pieces of armor both setting the rate to 50%, it will actually get set to 50% of 50% of the original damage. An easier way to say that: It will be set to half of half the damage.
0.5 * 0.5 = 0.25
50% * 50% = 25%
I hope this helps you understand the difference between elemental rate and elemental resistance a bit better. I know it isn't a solution, but ATT_Turan already gave one that would probably work. 😛
Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-made-element-rate-from-different-gear-additive.169592/