Browse Source

飞花令战力显示不对

guodong 1 year ago
parent
commit
c808356e23
1 changed files with 2 additions and 2 deletions
  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,