Browse Source

对战敌方分数错误

zhaoyang 2 years ago
parent
commit
7d63b38207
1 changed files with 1 additions and 0 deletions
  1. 1 0
      GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

+ 1 - 0
GameClient/Assets/Game/HotUpdate/Data/InstanceZonesDataManager.cs

@@ -125,6 +125,7 @@ namespace GFGGame
             _targetData.cardScore = fightCfg.targetCardScore;
             _targetData.tags = fightCfg.needTagsArr;
             _targetData.skillLvs = new List<int>(fightCfg.targetSkillLvsArr);
+            _targetData.itemScoreList.Clear();
             for (int i = 0; i < fightCfg.targetPartsScoreArr.Length; i++)
             {
                 _targetData.itemScoreList.Add(fightCfg.targetPartsScoreArr[i]);