|
@@ -156,7 +156,7 @@ namespace GFGGame
|
|
|
{
|
|
|
_equipDatas.Add(value);
|
|
|
DressUpUtil.AddItem(value, _sceneObj, _needSetMask);
|
|
|
- score += DressUpMenuItemDataManager.GetItemScore(value);
|
|
|
+ score += ItemDataManager.GetItemAdditionScore(value, InstanceZonesDataManager.currentScoreType);
|
|
|
}
|
|
|
int dressSuitId = CheckCurDressIsSuit();
|
|
|
if (dressSuitId > 0) _suitId = dressSuitId;
|
|
@@ -172,7 +172,7 @@ namespace GFGGame
|
|
|
{
|
|
|
_equipDatas.Remove(value);
|
|
|
DressUpUtil.RemoveItem(value, _sceneObj);
|
|
|
- score -= DressUpMenuItemDataManager.GetItemScore(value);
|
|
|
+ score -= ItemDataManager.GetItemAdditionScore(value, InstanceZonesDataManager.currentScoreType);
|
|
|
}
|
|
|
}
|
|
|
//检测当前穿戴是否是一件完整套装,且只穿了一件套装,返回套装id
|
|
@@ -459,7 +459,7 @@ namespace GFGGame
|
|
|
score = roleLevelCfg.baseScore;
|
|
|
foreach (int itemId in _equipDatas)
|
|
|
{
|
|
|
- score += DressUpMenuItemDataManager.GetItemScore(itemId);
|
|
|
+ score += ItemDataManager.GetItemAdditionScore(itemId, InstanceZonesDataManager.currentScoreType);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -695,10 +695,10 @@ namespace GFGGame
|
|
|
|
|
|
if (shangyiIndex >= 0 && xiazhuangIndex >= 0)//同时拥有上衣、下装、连衣裙
|
|
|
{
|
|
|
- int lianyiqunScore = DressUpMenuItemDataManager.GetItemScore(recommendList[liangyiqunIndex]);
|
|
|
- int shangyiScore = DressUpMenuItemDataManager.GetItemScore(recommendList[shangyiIndex]);
|
|
|
- int xiazhuangScore = DressUpMenuItemDataManager.GetItemScore(recommendList[xiazhuangIndex]);
|
|
|
- int neidaScore = neidaIndex >= 0 ? DressUpMenuItemDataManager.GetItemScore(recommendList[neidaIndex]) : 0;
|
|
|
+ int lianyiqunScore = ItemDataManager.GetItemAdditionScore(recommendList[liangyiqunIndex], InstanceZonesDataManager.currentScoreType);
|
|
|
+ int shangyiScore = ItemDataManager.GetItemAdditionScore(recommendList[shangyiIndex], InstanceZonesDataManager.currentScoreType);
|
|
|
+ int xiazhuangScore = ItemDataManager.GetItemAdditionScore(recommendList[xiazhuangIndex], InstanceZonesDataManager.currentScoreType);
|
|
|
+ int neidaScore = neidaIndex >= 0 ? ItemDataManager.GetItemAdditionScore(recommendList[neidaIndex], InstanceZonesDataManager.currentScoreType) : 0;
|
|
|
int subType = ItemUtilCS.GetItemSubType(fightCfg.needItemId);
|
|
|
if (fightCfg.needItemId > 0 && recommendList.IndexOf(fightCfg.needItemId) >= 0 && (subType == ConstDressUpItemType.SHANG_YI || subType == ConstDressUpItemType.XIA_ZHUANG || subType == ConstDressUpItemType.NEI_DA || subType == ConstDressUpItemType.LIAN_YI_QUN))//推荐列表里有必需品且,必需品类型为上衣或下装或连衣裙,有先穿戴必须品,其次穿戴高分服装
|
|
|
{
|