少年修仙传客户端代码仓库
hch
2023-07-12 ffa40b7cbeafb95153a5864387ffc199d84f8077
Core/GameEngine/Model/Player/Character/PlayerBaseData.cs
@@ -42,6 +42,7 @@
    public uint spExtend;    //扩展属性8,各项目专用
    public uint bubbleId;    //扩展属性10,各项目专用
    public uint ExAttr11;    //预留的扩展属性字段,用来存放项目特定的属性
    public uint ExAttr16;    //预留的扩展属性字段,用来存放项目特定的属性    全身特效
    public uint ServerGroupId;    //服务器组ID
    public uint hangTime;//现为脱机挂剩余时间 23
    public uint faction; //阵营 107
@@ -85,6 +86,7 @@
    public int skillReducePerF; //嗜天斧技能减伤百分比
    public int skillReducePerG; //射日神弓技能减伤百分比
    public int mapRealmSelect;  //地图境界难度
    public long treasurePotentialSp
    {
        get
@@ -92,10 +94,6 @@
            return spExtend * (long)100000000 + sp;
        }
    }
    public int godWeaponLV_1;
    public int godWeaponLV_2;
    public int godWeaponLV_3;
    public int godWeaponLV_4;
    public int reikiRootEffectId
    {
@@ -155,15 +153,13 @@
            spExtend = _serverInfo.ExAttr8;
            bubbleId = _serverInfo.ExAttr10;
            ExAttr11 = _serverInfo.ExAttr11;
            ExAttr16 = _serverInfo.ExAttr16;
            ServerGroupId = _serverInfo.ExAttr13;
            hangTime = _serverInfo.HappyPoint;
            faction = _serverInfo.Faction;
            coinPointTotal = _serverInfo.ChangeCoinPointTotal;
            equipShowSwitch = _serverInfo.EquipShowSwitch;
            godWeaponLV_1 = (int)_serverInfo.ExAttr15;
            godWeaponLV_2 = (int)_serverInfo.ExAttr16;
            godWeaponLV_3 = (int)_serverInfo.ExAttr17;
            godWeaponLV_4 = (int)_serverInfo.ExAttr18;
            mapRealmSelect = (int)_serverInfo.ExAttr18;
        }
        else
        {
@@ -249,19 +245,17 @@
        spExtend = serverInfo.ExAttr8;
        bubbleId = serverInfo.ExAttr10;
        ExAttr11 = serverInfo.ExAttr11;
        ExAttr16 = serverInfo.ExAttr16;
        ServerGroupId = serverInfo.ExAttr13;
        hangTime = serverInfo.HappyPoint;
        faction = serverInfo.Faction;
        coinPointTotal = serverInfo.ChangeCoinPointTotal;
        godWeaponLV_1 = (int)serverInfo.ExAttr15;
        godWeaponLV_2 = (int)serverInfo.ExAttr16;
        godWeaponLV_3 = (int)serverInfo.ExAttr17;
        godWeaponLV_4 = (int)serverInfo.ExAttr18;
        HP = serverInfo.HP + serverInfo.HPEx * Constants.ExpPointValue;
        if (PlayerDatas.Instance.hero != null)
        {
            PlayerDatas.Instance.hero.ActorInfo.ResetHp((long)HP);
        }
        mapRealmSelect = (int)serverInfo.ExAttr18;
    }