|
@@ -548,10 +548,11 @@ namespace GFGGame
|
|
{
|
|
{
|
|
_roleData.itemScoreList.Clear();
|
|
_roleData.itemScoreList.Clear();
|
|
_roleData.itemScoreDic.Clear();
|
|
_roleData.itemScoreDic.Clear();
|
|
|
|
+
|
|
for (int i = 0; i < _roleData.itemList.Count; i++)
|
|
for (int i = 0; i < _roleData.itemList.Count; i++)
|
|
{
|
|
{
|
|
int score = GetItemAdditionScore(_roleData.itemList[i], _roleData.scoreType);
|
|
int score = GetItemAdditionScore(_roleData.itemList[i], _roleData.scoreType);
|
|
- if(arreProto != null && arreProto.SuitScore[i] != 0)
|
|
|
|
|
|
+ if(arreProto != null && arreProto.SuitScore.Count == _roleData.itemList.Count)
|
|
{
|
|
{
|
|
score = arreProto.SuitScore[i];
|
|
score = arreProto.SuitScore[i];
|
|
}
|
|
}
|