Medicine Resistance

Certain Medicines and Pills have Medicine Resistance.
This is the amount medicinal effect is reduced by when consuming the item.
Current Medicine Resistance of a character is viewable in the Status & Health screen's right-openable tab.
== Equation ==
Every time you take a Medicine, it will have Effect = 100% - Existing Medicine Resistance. 
It will then apply that percentage of the Medicine Strength to the character, and increase the Medicine Resistance by the medicine's Medicine Resistance * that.
ie:
stats applied to character = Medicine Strength * Effect
Medicine Resistance on Character Increase = medicine's Medicine Resistance value * Effect
== 1st time ==
Existing Medicine Resistance = 0
Effect = (100% - Existing Medicine Resistance) = 100%
And add its stated Medicine Resistance to the character.
== 2nd time ==
Say you took an Earth Flux. Its Medicine Resistance is 90%
After you take it the first time, your character's Medicine Resistance will say 90% for Earth Flux
Effect = 100% - Existing Medicine Resistance = 100% - 90% = 10%
So you get 10% of the Earth Flux medicinal effect, as well as 10% of its medicinal resistance added on.
10% of 90% = 9% NEW medicinal resistance.
Meaning the character's total medicinal resistance to Earth Flux is now 99%
== Nth time ==
The Nth time after the first you take a medicine, the effect can be calculated by
Stat Increase = Medicine Strength * (1 - Medicine Resistance) ^ N
For example, the 3rd consumption (2nd after the first) consumption of (50% Medicine Resistance) has 25% effect (1-0.5)².
== Infinity ==
As you approach an infinite number of medicines taken, there is a limit to how much of an effect it's possible for the medicine to have.
This effect is quite easy to calculate, as it's 
1 / Medicine Resistance.
ie: 
* 10% MR Medicines have a limit of +1000% Effect.
* 50% MR Medicines have a limit of +200% Effect.
* 100% MR Medicines have a limit of +100% Effect.
* ... etc
Furthermore, you don't need to take an infinite number to get "close enough" to this value. Particularly if you take in to account for rounding.
If you take 2-5 Earth Flux (MR 90%), it will be practically indistinguishable from the maximum possible.
== Pseudo Equation ==
If you use a medicine of the same Medicine Strength over and over, it can be assumed that your current "Medicine Resistance" is the amount you've reached of the Infinity value at that certain Medicine Strength.
Ie: if a medicine has 10% Medicine Resistance, and you have 90% Resistance to it. Then you have 90% of 1000% = 900% effect of the base Medicine Strength, but only if it's the same Medicine Strength, otherwise this goes out the window.
For a more intuitive explanation of why it won't work for different Medicine Strengths, check out the Wicked Flux "dial codes" for perfect mental state reduction.
Category:Game Mechanics
Category:Pills
Category:Medicine