Sfoglia il codice sorgente

Merge remote-tracking branch 'remotes/origin/master' into xiaojie

hexiaojie 1 anno fa
parent
commit
674f6d8cc2
22 ha cambiato i file con 11 aggiunte e 6 eliminazioni
  1. 7 2
      GameClient/Assets/Game/HotUpdate/Data/FightDataManager.cs
  2. 4 4
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/CommonGame/UI_TaskListItem.cs
  3. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0!a.png
  4. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0.png
  5. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1!a.png
  6. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1.png
  7. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_2!a.png
  8. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_2.png
  9. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_3!a.png
  10. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_3.png
  11. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_4!a.png
  12. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_4.png
  13. BIN
      GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes
  14. BIN
      GameClient/Assets/ResIn/UI/Task/Task_atlas0!a.png
  15. BIN
      GameClient/Assets/ResIn/UI/Task/Task_atlas0.png
  16. BIN
      GameClient/Assets/ResIn/UI/Task/Task_atlas0_1!a.png
  17. BIN
      GameClient/Assets/ResIn/UI/Task/Task_atlas0_1.png
  18. BIN
      GameClient/Assets/ResIn/UI/Task/Task_atlas0_2!a.png
  19. BIN
      GameClient/Assets/ResIn/UI/Task/Task_atlas0_2.png
  20. BIN
      GameClient/Assets/ResIn/UI/Task/Task_atlas0_3!a.png
  21. BIN
      GameClient/Assets/ResIn/UI/Task/Task_atlas0_3.png
  22. BIN
      GameClient/Assets/ResIn/UI/Task/Task_fui.bytes

+ 7 - 2
GameClient/Assets/Game/HotUpdate/Data/FightDataManager.cs

@@ -234,8 +234,13 @@ namespace GFGGame
             {
                 List<int> skillLvsA = SkillDataManager.Instance.GetCardSkillLvs(a.id);
                 List<int> skillLvsB = SkillDataManager.Instance.GetCardSkillLvs(b.id);
-                double addA = a.scores[scoreType] * ConstScoreSystem.PERFECT_SCORE * ConstScoreSystem.CLICK_SCORE / ConstScoreSystem.PART_SCORE * 6d;
-                double addB = b.scores[scoreType] * ConstScoreSystem.PERFECT_SCORE * ConstScoreSystem.CLICK_SCORE / ConstScoreSystem.PART_SCORE * 6d;
+                //start===============================
+                //double addA = a.scores[scoreType] * ConstScoreSystem.PERFECT_SCORE * ConstScoreSystem.CLICK_SCORE / ConstScoreSystem.PART_SCORE * 6d;
+                //double addB = b.scores[scoreType] * ConstScoreSystem.PERFECT_SCORE * ConstScoreSystem.CLICK_SCORE / ConstScoreSystem.PART_SCORE * 6d;
+                //因为这里只是排序,不需要计算完整分数
+                //end=================================
+                double addA = a.scores[scoreType];
+                double addB = b.scores[scoreType];
                 double scoreA = GetSkillFightScore(itemSum, baseScore, leagueSkillScore, a.id, a.scores[scoreType], skillLvsA) + addA;
                 double scoreB = GetSkillFightScore(itemSum, baseScore, leagueSkillScore, b.id, b.scores[scoreType], skillLvsB) + addB;
                 if (scoreA < scoreB)

+ 4 - 4
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/CommonGame/UI_TaskListItem.cs

@@ -15,7 +15,7 @@ namespace UI.CommonGame
         public GList m_listTaskReward;
         public UI_Button22 m_GetRewardBt;
         public UI_Button22 m_ComeBt;
-        public UI_Button22 m_GetRewardBt_2;
+        public UI_Button22 m_GetRewardBt1;
         public GProgressBar m_taskBar;
         public const string URL = "ui://eg2y0ldplh8v5";
         public const string PACKAGE_NAME = "CommonGame";
@@ -72,7 +72,7 @@ namespace UI.CommonGame
             m_listTaskReward = (GList)comp.GetChild("listTaskReward");
             m_GetRewardBt = (UI_Button22)UI_Button22.Create(comp.GetChild("GetRewardBt"));
             m_ComeBt = (UI_Button22)UI_Button22.Create(comp.GetChild("ComeBt"));
-            m_GetRewardBt_2 = (UI_Button22)UI_Button22.Create(comp.GetChild("GetRewardBt"));
+            m_GetRewardBt1 = (UI_Button22)UI_Button22.Create(comp.GetChild("GetRewardBt1"));
             m_taskBar = (GProgressBar)comp.GetChild("taskBar");
         }
         public void Dispose(bool disposeTarget = false)
@@ -87,8 +87,8 @@ namespace UI.CommonGame
             m_GetRewardBt = null;
             m_ComeBt.Dispose();
             m_ComeBt = null;
-            m_GetRewardBt_2.Dispose();
-            m_GetRewardBt_2 = null;
+            m_GetRewardBt1.Dispose();
+            m_GetRewardBt1 = null;
             m_taskBar = null;
             if(disposeTarget && target != null)
             {

BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1!a.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_1.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_2!a.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_2.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_3!a.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_3.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_4!a.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_atlas0_4.png


BIN
GameClient/Assets/ResIn/UI/CommonGame/CommonGame_fui.bytes


BIN
GameClient/Assets/ResIn/UI/Task/Task_atlas0!a.png


BIN
GameClient/Assets/ResIn/UI/Task/Task_atlas0.png


BIN
GameClient/Assets/ResIn/UI/Task/Task_atlas0_1!a.png


BIN
GameClient/Assets/ResIn/UI/Task/Task_atlas0_1.png


BIN
GameClient/Assets/ResIn/UI/Task/Task_atlas0_2!a.png


BIN
GameClient/Assets/ResIn/UI/Task/Task_atlas0_2.png


BIN
GameClient/Assets/ResIn/UI/Task/Task_atlas0_3!a.png


BIN
GameClient/Assets/ResIn/UI/Task/Task_atlas0_3.png


BIN
GameClient/Assets/ResIn/UI/Task/Task_fui.bytes