mirror of
https://github.com/amevarashi/RJW-Sexperience.git
synced 2024-08-14 23:54:08 +00:00
Use lust increment factor only when closing to the limit
This commit is contained in:
parent
cea590edd4
commit
c8859621fa
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue