From be2773ec6c9fc910899d4d5ecf46b3d41a9d311d Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 4 Jul 2024 15:15:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=A1=E7=8A=B6=E6=80=81=E5=88=A4=E5=AE=9A?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20fix=20#405?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index ff711c1..bb5c891 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -764,7 +764,8 @@ namespace VPet_Simulator.Windows if (save.StrengthFood < 1) stat["stat_0_sd_sf"] = 1; } - if (save.Strength > 99 && save.Feeling > 99 && save.StrengthFood > 99 && save.StrengthDrink > 99) + var smm = save.StrengthMax - 1; + if (save.Strength > smm && save.Feeling > save.FeelingMax && save.StrengthFood > smm && save.StrengthDrink > smm) stat[(gint)"stat_100_all"]++; if (IsSteamUser)