更新更好买设置

This commit is contained in:
ZouJin 2023-08-26 00:49:07 +10:00
parent e9333b3c6c
commit b6bb099baf
2 changed files with 3 additions and 2 deletions

View File

@ -153,7 +153,7 @@ namespace VPet_Simulator.Windows.Interface
/// <summary>
/// 当前物品推荐价格
/// </summary>
public double RealPrice => ((Exp / 4 + Strength / 5 + StrengthDrink / 3 + StrengthFood / 2 + Feeling / 6) / 3 + Health + Likability * 10);
public double RealPrice => ((Exp / 4 + Strength / 5 + StrengthDrink / 3 + StrengthFood / 2 + Feeling / 5) / 3 + Health + Likability * 10);
/// <summary>
/// 该食物是否超模
/// </summary>

View File

@ -34,6 +34,7 @@ namespace VPet_Simulator.Windows.Interface
smartmove = this["gameconfig"].GetBool("smartmove");
enablefunction = !this["gameconfig"].GetBool("nofunction");
Statistics = new Statistics(this["statistics"].ToList());
autobuy = this["gameconfig"].GetBool("autobuy");
}
public override string ToString()
{
@ -426,7 +427,7 @@ namespace VPet_Simulator.Windows.Interface
set
{
autobuy = value;
this["gameconfig"].SetBool("allowmove", !value);
this["gameconfig"].SetBool("autobuy", value);
}
}
}