Преглед на файлове

飞花令战力显示不对

guodong преди 1 година
родител
ревизия
c808356e23
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      GameClient/Assets/Game/HotUpdate/Data/ArenaDataManager.cs

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Data/ArenaDataManager.cs

@@ -396,7 +396,7 @@ namespace GFGGame
                 var fightData = fightDatas[i];
                 if (fightData.type == FightTargetType.PLAYER)
                 {
-                    long itemsScore = GetItemScoreSum(fightData.itemScoreList);
+                    long itemsScore = FightDataManager.Instance.GetScore(fightData);
                     itemSum += itemsScore;
                     clickScore += GetPerfectClickScore(fightData);
                     skillScore += FightDataManager.Instance.GetSkillFightScore(itemsScore, fightData.baseScore,
@@ -405,7 +405,7 @@ namespace GFGGame
                 }
                 else
                 {
-                    long itemsScore = GetItemScoreSum(fightData.itemScoreList);
+                    long itemsScore = FightDataManager.Instance.GetScore(fightData);
                     itemSum += itemsScore;
                     clickScore += GetRobotPerfectClickScore(fightData);
                     skillScore += FightDataManager.Instance.GetSkillFightScore(itemsScore, fightData.baseScore,