|
@@ -353,11 +353,23 @@ namespace GFGGame
|
|
|
|
|
|
List<int> itemIds = _decomposeData.Keys.ToList<int>();
|
|
|
List<long> itemNums = _decomposeData.Values.ToList<long>();
|
|
|
- bool result = await ClothingDecomposeSProxy.ClothingDecompose(itemIds, itemNums);
|
|
|
- if (result)
|
|
|
+ if (_ui.m_c1.selectedIndex == 0)
|
|
|
+ {
|
|
|
+ bool result = await ClothingDecomposeSProxy.ClothingDecompose(itemIds, itemNums);
|
|
|
+ if (result)
|
|
|
+ {
|
|
|
+ OnClickBtnRarity(_curRarity);
|
|
|
+ LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_FEN_JIE, 2);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else
|
|
|
{
|
|
|
- OnClickBtnRarity(_curRarity);
|
|
|
- LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_FEN_JIE, 2);
|
|
|
+ bool result = await ClothingDecomposeSProxy.SkillBookDecompose(itemIds, itemNums);
|
|
|
+ if (result)
|
|
|
+ {
|
|
|
+ OnClickBtnRarity(_curRarity);
|
|
|
+ LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_FEN_JIE, 2);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|