mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
突破:体力/心情上限会比之前高
This commit is contained in:
parent
d7d056fc37
commit
8cb28d52d3
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user