From 2c4f5f9f7116a3f7f2ba0be888d3a9f0af1a2062 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 18 Apr 2024 22:32:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=80=E9=AB=98=E6=9C=89?= =?UTF-8?q?=E6=95=88=E5=BA=A6=E4=B8=BA50%=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index 0a4f52d..607d954 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -632,7 +632,7 @@ namespace VPet_Simulator.Windows else eatuseps = Math.Max(0.5, 1 - Math.Pow((eattime - now).TotalHours, 2) * 0.02); //开始加点 - Core.Save.EatFood(item, Math.Max(0.5, eatuseps)); + Core.Save.EatFood(item, Math.Min(0.5, eatuseps)); //吃腻了 eattimes += Math.Max(0.5, Math.Min(4, 2 - (item.Likability + item.Feeling / 2) / 5)); GameSavesData["buytime"].SetDateTime(item.Name, now.AddHours(eattimes));