mirror of
https://gitgud.io/lutepickle/rjw_menstruation.git
synced 2024-08-14 22:46:52 +00:00
Account for bleeding when calculating induced ovulator ovary power, for all zero of them that bleed
This commit is contained in:
parent
58b2e4983c
commit
096f941762
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -50,7 +50,7 @@ namespace RJW_Menstruation
|
||||||
if ((Props.breedingSeason & SeasonalBreed.Winter) != 0) breedingSeasons++;
|
if ((Props.breedingSeason & SeasonalBreed.Winter) != 0) breedingSeasons++;
|
||||||
}
|
}
|
||||||
float breedingRatio = breedingSeasons / 4.0f;
|
float breedingRatio = breedingSeasons / 4.0f;
|
||||||
return breedingRatio * GenDate.DaysPerYear / ((float)Props.lutealIntervalDays / Configurations.CycleAccelerationDefault);
|
return breedingRatio * GenDate.DaysPerYear / ((float)(Props.lutealIntervalDays + Props.bleedingIntervalDays) / Configurations.CycleAccelerationDefault);
|
||||||
}
|
}
|
||||||
|
|
||||||
// There's really no good way to estimate the number of times it's been induced, so this is all we can do
|
// There's really no good way to estimate the number of times it's been induced, so this is all we can do
|
||||||
|
|
Loading…
Reference in a new issue