From ffa40b7cbeafb95153a5864387ffc199d84f8077 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 12 七月 2023 20:19:42 +0800
Subject: [PATCH] 0312 支持地图境界动态难度

---
 Core/GameEngine/Model/Player/Character/PlayerBaseData.cs |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/Core/GameEngine/Model/Player/Character/PlayerBaseData.cs b/Core/GameEngine/Model/Player/Character/PlayerBaseData.cs
index 81284eb..8028379 100644
--- a/Core/GameEngine/Model/Player/Character/PlayerBaseData.cs
+++ b/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;
     }
 
 

--
Gitblit v1.8.0