| | |
| | | public int GetNextXBCountForBigAward(int type, out List<int> qualityList)
|
| | | {
|
| | | qualityList = new List<int>();
|
| | |
|
| | | //无配置写死
|
| | | if (type == (int)HappXBTitle.Gubao)
|
| | | {
|
| | | qualityList.Add(3);
|
| | | qualityList.Add(4);
|
| | | }
|
| | | else if (type == (int)HappXBTitle.HeroCallAdvanced)
|
| | | {
|
| | | qualityList.Add(4);
|
| | | qualityList.Add(5);
|
| | | }
|
| | |
|
| | |
|
| | | XBTypeInfo typeInfo = GetXBInfoByType(type);
|
| | | if (typeInfo == null)
|
| | | {
|
| | |
| | | {
|
| | | if (typeInfo.luckValue < luckList[i])
|
| | | {
|
| | | //把二维数组里的所有第二个元素组成新列表
|
| | | qualityList = xbConfig.LuckyItemRateInfo[luckList[i]].Select(x => x[1]).ToList();
|
| | | qualityList.Sort();
|
| | | return luckList[i] - typeInfo.luckValue;
|
| | | }
|
| | | }
|