|
@@ -544,13 +544,17 @@ namespace GFGGame
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
- public void SetItemScoreList(FightData _roleData)
|
|
|
|
|
|
+ public void SetItemScoreList(FightData _roleData, ArenaDressupAttrProto arreProto = null)
|
|
{
|
|
{
|
|
_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)
|
|
|
|
+ {
|
|
|
|
+ score = arreProto.SuitScore[i];
|
|
|
|
+ }
|
|
_roleData.itemScoreList.Add(score);
|
|
_roleData.itemScoreList.Add(score);
|
|
_roleData.itemScoreDic[_roleData.itemList[i]] = score;
|
|
_roleData.itemScoreDic[_roleData.itemList[i]] = score;
|
|
}
|
|
}
|