From 8a37eb27decad1d505c8466af46e135e327c5c1c Mon Sep 17 00:00:00 2001 From: ZouJin Date: Fri, 22 Mar 2024 23:41:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=87=8D=E5=A4=8D=E6=BA=A2?= =?UTF-8?q?=E5=87=BA=E6=95=B0=E6=8D=AE=E6=81=A2=E5=A4=8D=E5=92=8C=E4=B8=8D?= =?UTF-8?q?=E5=8A=A0=E5=A5=BD=E6=84=9F=E5=BA=A6=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.cs | 6 +++++- VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps | 4 +++- .../mod/0000_core/lang/zh-Hans/Base2403.lps | 4 +++- .../mod/0000_core/lang/zh-Hant/Base2403.lps | 4 +++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index a05a5f3..de6c27c 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -851,6 +851,7 @@ namespace VPet_Simulator.Windows } if (tmp.Data[(gbol)"round"]) {//根据游玩时间补偿数据溢出 + Dispatcher.Invoke(() => MessageBoxX.Show("您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值".Translate(), "数据溢出恢复".Translate())); var totalhour = (int)(tmp.Statistics[(gint)"stat_total_time"] / 3600);//总计游玩时间/小时 if (totalhour < 500) { @@ -859,9 +860,12 @@ namespace VPet_Simulator.Windows else { double lm = Math.Sqrt(totalhour / 500); - tmp.GameSave.LevelMax = (int)lm; + tmp.GameSave.LevelMax += (int)lm; tmp.GameSave.Exp += (totalhour % 500 + (lm - (int)lm) * 500) * 200; + } + tmp.GameSave.LikabilityMax += totalhour / 10; + tmp.Data[(gbol)"round"] = false; } GameSavesData = tmp; Core.Save = tmp.GameSave; diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps index 7c4c8a1..cfc6994 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps @@ -51,4 +51,6 @@ theme#Theme:| 送客#SendGuest:| 已成功连接到访客表#Successfully connected to the Guest List:| 好友{0}已退出访客表#Friend {0} has exited the Guest List:| -好友{0}已加入访客表#Friend {0} has joined the Guest List:| \ No newline at end of file +好友{0}已加入访客表#Friend {0} has joined the Guest List:| +您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#You have encountered data overflow before, and the current value has been automatically added according to the game duration:| +数据溢出恢复#Data overflow recovery:| \ No newline at end of file diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2403.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2403.lps index 674ac4e..785a051 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2403.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2403.lps @@ -51,4 +51,6 @@ theme#主题:| 送客#送客:| 已成功连接到访客表#已成功连接到访客表:| 好友{0}已退出访客表#好友{0}已退出访客表:| -好友{0}已加入访客表#好友{0}已加入访客表:| \ No newline at end of file +好友{0}已加入访客表#好友{0}已加入访客表:| +您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值:| +数据溢出恢复#数据溢出恢复:| \ No newline at end of file diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps index b963190..e44bf9b 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps @@ -51,4 +51,6 @@ theme#主題:| 送客#送客:| 已成功连接到访客表#已成功連接到訪客表:| 好友{0}已退出访客表#好友{0}已退出訪客表:| -好友{0}已加入访客表#好友{0}已加入訪客表:| \ No newline at end of file +好友{0}已加入访客表#好友{0}已加入訪客表:| +您以前遭遇过数据溢出, 已根据游戏时长自动添加进当前数值#您以前遭遇過數據溢出, 已根據遊戲時長自動添加進目前數值:| +数据溢出恢复#數據溢出恢復:| \ No newline at end of file