简化公式

This commit is contained in:
ZouJin 2024-03-12 01:41:28 +08:00
parent 838b4c9382
commit 98aadae4d6

View File

@ -66,7 +66,7 @@ public class GameSave_VPet : IGameSave
/// <summary>
/// 升级所需经验值
/// </summary>
public int LevelUpNeed() => (int)(Math.Pow((Level) * 10, 2) - Math.Pow((Level - 1) * 10, 2));
public int LevelUpNeed() => 200 * Level - 100;
/// <summary>
/// 体力 0-100
/// </summary>