mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
更新更好买设置
This commit is contained in:
parent
e9333b3c6c
commit
b6bb099baf
@ -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>
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user