diff --git a/VPet-Simulator.Windows.Interface/ExtensionFunction.cs b/VPet-Simulator.Windows.Interface/ExtensionFunction.cs index 29370d0..df19ca5 100644 --- a/VPet-Simulator.Windows.Interface/ExtensionFunction.cs +++ b/VPet-Simulator.Windows.Interface/ExtensionFunction.cs @@ -52,6 +52,8 @@ namespace VPet_Simulator.Windows.Interface /// 是否超模 public static bool IsOverLoad(this Work work) {//判断这个工作是否超模 + if (work.LevelLimit > 1000) + return true; if (work.FinishBonus < 0) return true; var spend = work.Spend(); diff --git a/VPet-Simulator.Windows.Interface/GameSave_v2.cs b/VPet-Simulator.Windows.Interface/GameSave_v2.cs index 480d0aa..7fafcf2 100644 --- a/VPet-Simulator.Windows.Interface/GameSave_v2.cs +++ b/VPet-Simulator.Windows.Interface/GameSave_v2.cs @@ -43,6 +43,14 @@ namespace VPet_Simulator.Windows.Interface if (vpet != null) { GameSave = GameSave.Load(vpet); + if (GameSave.Exp < -1000000000) + { + GameSave.Exp = 100000; + } + if (GameSave.Money < -1000000000) + { + GameSave.Money = 100000; + } hash = vpet.GetInt64("hash"); if (vpet.Remove("hash")) {