mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复点击说话不触发成就的bug
This commit is contained in:
parent
9d3970e959
commit
e5278e6720
@ -49,7 +49,7 @@ namespace VPet_Simulator.Windows
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
public int version { get; } = 107;
|
||||
public int version { get; } = 108;
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
|
@ -663,24 +663,24 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
if (rt.Exp > 0)
|
||||
{
|
||||
GameSavesData.Statistics[(gint)"stat_rt_exp_p"]++;
|
||||
GameSavesData.Statistics[(gint)"stat_say_exp_p"]++;
|
||||
}
|
||||
else
|
||||
GameSavesData.Statistics[(gint)"stat_rt_exp_d"]++;
|
||||
GameSavesData.Statistics[(gint)"stat_say_exp_d"]++;
|
||||
}
|
||||
if (rt.Likability != 0)
|
||||
{
|
||||
if (rt.Likability > 0)
|
||||
GameSavesData.Statistics[(gint)"stat_rt_like_p"]++;
|
||||
GameSavesData.Statistics[(gint)"stat_say_like_p"]++;
|
||||
else
|
||||
GameSavesData.Statistics[(gint)"stat_rt_like_d"]++;
|
||||
GameSavesData.Statistics[(gint)"stat_say_like_d"]++;
|
||||
}
|
||||
if (rt.Money != 0)
|
||||
{
|
||||
if (rt.Money > 0)
|
||||
GameSavesData.Statistics[(gint)"stat_rt_money_p"]++;
|
||||
GameSavesData.Statistics[(gint)"stat_say_money_p"]++;
|
||||
else
|
||||
GameSavesData.Statistics[(gint)"stat_rt_money_d"]++;
|
||||
GameSavesData.Statistics[(gint)"stat_say_money_d"]++;
|
||||
}
|
||||
Main.Core.Save.EatFood(rt);
|
||||
Main.Core.Save.Money += rt.Money;
|
||||
|
Loading…
Reference in New Issue
Block a user