浏览代码

竞技场

zhaoyang 2 年之前
父节点
当前提交
79a583e2bc

+ 4 - 0
FGUIProject/assets/Arena/ArenaRankUpUI.xml

@@ -10,4 +10,8 @@
     <item time="12" type="XY" target="n1_psph" tween="true" startValue="407,660" endValue="407,223" duration="12" ease="Linear"/>
     <item time="12" type="XY" target="n9_psph" tween="true" startValue="407,223" endValue="407,660" duration="12" ease="Linear"/>
   </transition>
+  <transition name="t1">
+    <item time="0" type="XY" target="n1_psph" value="407,660"/>
+    <item time="0" type="XY" target="n9_psph" value="407,223"/>
+  </transition>
 </component>

+ 2 - 2
GameClient/Assets/Game/HotUpdate/ServerProxy/ArenaSproxy.cs

@@ -86,9 +86,9 @@ namespace GFGGame
                     roleInfo.headId = RoleDataManager.headId;
 
                     // ArenaDataManager.Instance.Clear();
-                    for (int i = 0; i < response.DressupList.Count; i++)
+                    for (int i = 0; i < response.ThemeList.Count; i++)
                     {
-                        FightData roleData = GetFightRoleData(response.DressupList[i], roleInfo, i);
+                        FightData roleData = GetFightRoleData(response.DressupList.Count <= i ? null : response.DressupList[i], roleInfo, i);
 
                         FightDataManager.Instance.SetItemScoreList(roleData);
                         ScoreSystemData.Instance.SetEquipScoresWithPartId(roleData);