mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Have cum fertility decay at the proper rate
This commit is contained in:
		
							parent
							
								
									02200b2bfa
								
							
						
					
					
						commit
						e78a86599d
					
				
					 2 changed files with 1 additions and 1 deletions
				
			
		
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -205,7 +205,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
            // comp is used for Hydrogen's RJW Muscle Injury
 | 
					            // comp is used for Hydrogen's RJW Muscle Injury
 | 
				
			||||||
            float totalleak = volume;
 | 
					            float totalleak = volume;
 | 
				
			||||||
            float decayPerInterval = 1 - Mathf.Pow(1 - Configurations.CumDecayRatio, (float)comp.TickInterval / GenDate.TicksPerHour);
 | 
					            float decayPerInterval = 1 - Mathf.Pow(1 - Configurations.CumDecayRatio, (float)comp.TickInterval / GenDate.TicksPerHour);
 | 
				
			||||||
            float fertilityDecayPerInterval = 1 - Mathf.Pow(Configurations.CumFertilityDecayRatio, (float)comp.TickInterval / GenDate.TicksPerHour);
 | 
					            float fertilityDecayPerInterval = 1 - Mathf.Pow(1 - Configurations.CumFertilityDecayRatio, (float)comp.TickInterval / GenDate.TicksPerHour);
 | 
				
			||||||
            volume *= Math.Max(0, 1 - decayPerInterval * (1 - DecayResist) * leakfactor);
 | 
					            volume *= Math.Max(0, 1 - decayPerInterval * (1 - DecayResist) * leakfactor);
 | 
				
			||||||
            fertility *= Math.Max(0, 1 - (fertilityDecayPerInterval * (1 - DecayResist) + antisperm));
 | 
					            fertility *= Math.Max(0, 1 - (fertilityDecayPerInterval * (1 - DecayResist) + antisperm));
 | 
				
			||||||
            CutMinor();
 | 
					            CutMinor();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue