| | |
| | | public int BasicsDefense;//基础防御
|
| | | public int BasicsScoreAHit;//基础命中
|
| | | public int BasicsDodge;//基础闪避
|
| | | public long treasurePotentialSp {
|
| | | get {
|
| | | public long treasurePotentialSp
|
| | | {
|
| | | get
|
| | | {
|
| | | return ExAttr8 * (long)100000000 + ExAttr7;
|
| | | }
|
| | | }
|
| | |
| | | ExpPoint = _serverInfo.ExpPoint;
|
| | | TotalExp = _serverInfo.TotalExp;
|
| | | Family = _serverInfo.Family;
|
| | | if (PlayerDatas.Instance. hero != null)
|
| | | {
|
| | | PlayerDatas.Instance.hero.ActorInfo.familyID = Family;
|
| | | }
|
| | | FamilyName = _serverInfo.FamilyName.Trim().Replace(" ", "");
|
| | | Gold = _serverInfo.Gold;
|
| | | GoldPaper = _serverInfo.GoldPaper;
|
| | |
| | | PosX = _serverInfo.PosX;
|
| | | PosY = _serverInfo.PosY;
|
| | | State = _serverInfo.State;
|
| | | HP = _serverInfo.HP;
|
| | | XP = _serverInfo.XP;
|
| | | FreePoint = _serverInfo.FreePoint;
|
| | | FreeSkillPoint = _serverInfo.FreeSkillPoint;
|
| | |
| | | godWeaponLV_3 = (int)_serverInfo.ExAttr17;
|
| | | godWeaponLV_4 = (int)_serverInfo.ExAttr18;
|
| | |
|
| | | if (CrossServerRewardModel.IsCrossServerOneVsOne())
|
| | | {
|
| | | if (_serverInfo.socketType == GameNetSystem.SocketType.CrossSever)
|
| | | {
|
| | | HP = _serverInfo.HP;
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | HP = _serverInfo.HP;
|
| | | }
|
| | |
|
| | | if (PlayerDatas.Instance.hero != null)
|
| | | {
|
| | | PlayerDatas.Instance.hero.ActorInfo.familyID = Family;
|
| | | if (CrossServerRewardModel.IsCrossServerOneVsOne())
|
| | | {
|
| | | if (_serverInfo.socketType == GameNetSystem.SocketType.CrossSever)
|
| | | {
|
| | | PlayerDatas.Instance.hero.ActorInfo.ResetHp((int)_serverInfo.HP);
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | PlayerDatas.Instance.hero.ActorInfo.ResetHp((int)_serverInfo.HP);
|
| | | }
|
| | | }
|
| | |
|
| | | if (_serverInfo.socketType == GameNetSystem.SocketType.Main)
|
| | | {
|
| | | mainServerDataBuf.PlayerName = PlayerName;
|