Skip to content

Commit

Permalink
Fix Violove crest reducing favor if above 100 in KKS
Browse files Browse the repository at this point in the history
Fixes #38
  • Loading branch information
ManlyMarco committed Aug 22, 2022
1 parent 2933eff commit 1a18988
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Core_LewdCrestX/LewdCrestXGameController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ protected override void OnEndH(MonoBehaviour proc, HFlag hFlag, bool vr)
var totalTime = (int)heroine.TotalRoughTime;
var h = heroine.Heroine;
h.lewdness = Mathf.Min(100, h.lewdness + totalTime / 10);
h.favor = Mathf.Min(100, h.favor + totalTime / 20);
#if KK
h.intimacy = Mathf.Min(100, h.intimacy + totalTime / 30);
h.favor = Mathf.Min(100, h.favor + totalTime / 20);
#else
h.favor = Mathf.Min(h.isGirlfriend ? 150 : 100, h.favor + totalTime / 20);
#endif
}

Expand Down

0 comments on commit 1a18988

Please sign in to comment.