Account for bleeding when calculating induced ovulator ovary power, for all zero of them that bleed

This commit is contained in:
lutepickle 2022-07-08 14:51:24 -07:00
parent 58b2e4983c
commit 096f941762
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -50,7 +50,7 @@ namespace RJW_Menstruation
if ((Props.breedingSeason & SeasonalBreed.Winter) != 0) breedingSeasons++;
}
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