突破:体力/心情上限会比之前高

This commit is contained in:
ZouJin 2024-03-22 15:35:20 +08:00
parent d7d056fc37
commit 8cb28d52d3

View File

@ -72,7 +72,7 @@ public class GameSave_VPet : IGameSave
/// </summary> /// </summary>
public double Strength { get => strength; set => strength = Math.Min(StrengthMax, Math.Max(0, value)); } public double Strength { get => strength; set => strength = Math.Min(StrengthMax, Math.Max(0, value)); }
public double StrengthMax => 100 + (int)Math.Sqrt(Level) * 4; public double StrengthMax => 100 + (int)(Math.Pow(Level * (1 + LevelMax), 0.75) * 4);
[Line(Type = LPSConvert.ConvertType.ToFloat, IgnoreCase = true)] [Line(Type = LPSConvert.ConvertType.ToFloat, IgnoreCase = true)]
protected double strength { get; set; } protected double strength { get; set; }
@ -296,7 +296,7 @@ public class GameSave_VPet : IGameSave
[Line] [Line]
public double LikabilityMax { get; set; } = 100; public double LikabilityMax { get; set; } = 100;
public double FeelingMax => 100 + (int)Math.Sqrt(Level) * 2; public double FeelingMax => 100 + (int)(Math.Pow(Level * (1 + LevelMax), 0.75) * 2);
/// <summary> /// <summary>
/// 经验值加成 TODO /// 经验值加成 TODO
/// </summary> /// </summary>