mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Make the 'sperm lifespan' tip account for drainage, too. Also add a "10 ml" tip for fertilization chance
This commit is contained in:
parent
9459899ed6
commit
5abfa07638
2 changed files with 3 additions and 2 deletions
Binary file not shown.
|
@ -383,7 +383,8 @@ namespace RJW_Menstruation
|
|||
Configurations.ImplantationChanceAdjust = (int)listmain.Slider(Configurations.ImplantationChanceAdjust, 0, 1000);
|
||||
Configurations.ImplantationChance = (float)Configurations.ImplantationChanceAdjust / 100;
|
||||
|
||||
listmain.Label(Translations.Option4_Label + " " + Configurations.FertilizeChance * 100 + "%", -1, Translations.Option4_Desc);
|
||||
string tenMl = String.Format("10 ml: {0:0}%", (1.0f - Mathf.Pow(1.0f - Configurations.FertilizeChance, 10)) * 100f);
|
||||
listmain.LabelDouble(Translations.Option4_Label + " " + Configurations.FertilizeChance * 100 + "%", tenMl, Translations.Option4_Desc);
|
||||
Configurations.FertilizeChanceAdjust = (int)listmain.Slider(Configurations.FertilizeChanceAdjust, 0, 1000);
|
||||
Configurations.FertilizeChance = (float)Configurations.FertilizeChanceAdjust / 1000;
|
||||
|
||||
|
@ -399,7 +400,7 @@ namespace RJW_Menstruation
|
|||
Configurations.EggLifespanMultiplier = (float)Adjust / 20;
|
||||
|
||||
|
||||
int semenlifespan = (int)(-5 / ((float)Math.Log10((1 - Configurations.CumFertilityDecayRatio)*10) - 1)) + 1;
|
||||
int semenlifespan = (int)(-5 / ((float)Math.Log10((1 - Configurations.CumFertilityDecayRatio) * (1 - Configurations.CumDecayRatio) * 10) - 1)) + 1;
|
||||
string estimatedlifespan;
|
||||
if (semenlifespan < 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue