少年修仙传客户端代码仓库
hch
2025-03-19 6770e1eb64c4282def45adb824b14b2a407fdd30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
 
public partial class PlayerLVConfig
{
    public static Int64 GetExpByPlayerLv(int lv)
    {
        PlayerLVConfig cfg = PlayerLVConfig.Get(lv);
        if (cfg != null)
        {
            return (Int64)cfg.EXP1 * (long)Constants.ExpPointValue + (Int64)cfg.EXP2;
        }
        return 0;
    }
}