From c8859621faaefd831324a3382d1ce3223b1b6407 Mon Sep 17 00:00:00 2001 From: amevarashi Date: Sun, 27 Mar 2022 10:38:33 +0500 Subject: [PATCH] Use lust increment factor only when closing to the limit --- RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs b/RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs index bb372fb..ac363d4 100644 --- a/RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs +++ b/RJWSexperience/RJWSexperience/Patches/RJW_Patch.cs @@ -81,9 +81,12 @@ namespace RJWSexperience float lustDelta; - if (props.sexType != xxx.rjwSextype.Masturbation || props.partner != null) + if (props.sexType != xxx.rjwSextype.Masturbation) { - lustDelta = Mathf.Clamp((satisfaction - base_sat_per_fuck) * LustIncrementFactor((float)lust), -0.5f, 0.5f); // If the sex is satisfactory, lust grows up. Declines at the opposite. + lustDelta = satisfaction - base_sat_per_fuck; + if (Mathf.Sign(lustDelta) == Mathf.Sign((float)lust)) // Only if getting closer to the limit + lustDelta *= LustIncrementFactor((float)lust); + lustDelta = Mathf.Clamp(lustDelta, -0.5f, 0.5f); // If the sex is satisfactory, lust grows up. Declines at the opposite. } else {