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>
|
||||||
/// 当前物品推荐价格
|
/// 当前物品推荐价格
|
||||||
/// </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>
|
||||||
/// 该食物是否超模
|
/// 该食物是否超模
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -34,6 +34,7 @@ namespace VPet_Simulator.Windows.Interface
|
|||||||
smartmove = this["gameconfig"].GetBool("smartmove");
|
smartmove = this["gameconfig"].GetBool("smartmove");
|
||||||
enablefunction = !this["gameconfig"].GetBool("nofunction");
|
enablefunction = !this["gameconfig"].GetBool("nofunction");
|
||||||
Statistics = new Statistics(this["statistics"].ToList());
|
Statistics = new Statistics(this["statistics"].ToList());
|
||||||
|
autobuy = this["gameconfig"].GetBool("autobuy");
|
||||||
}
|
}
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
@ -426,7 +427,7 @@ namespace VPet_Simulator.Windows.Interface
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
autobuy = value;
|
autobuy = value;
|
||||||
this["gameconfig"].SetBool("allowmove", !value);
|
this["gameconfig"].SetBool("autobuy", value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user