| | |
| | | |
| | | if (config.ZhanlingType == (int)BattlePassType.MainLine) |
| | | { |
| | | |
| | | valueText.text = config.NeedValue / 100 + "-" + config.NeedValue % 100; |
| | | } |
| | | else if (config.ZhanlingType == (int)BattlePassType.BetterMainLine) |
| | | { |
| | | valueText.text = config.NeedValue/100 + "-" + config.NeedValue%100; |
| | | } |
| | | else |
| | |
| | | totalActivityText.text = Language.Get("BattlePassValue3", totalValue / 100, totalValue % 100);
|
| | | break;
|
| | | }
|
| | | case BattlePassType.BetterMainLine:
|
| | | {
|
| | | totalActivityText.text = Language.Get("BattlePassValue3", totalValue / 100, totalValue % 100);
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | {3, 40}, |
| | | {4, 28}, |
| | | {5, 27}, |
| | | {7, 53}, |
| | | }; |
| | | |
| | | public int[] battlePassTypeSortList; |
| | |
| | | totalValue = (int)battlePassData.value1; |
| | | break; |
| | | } |
| | | case BattlePassType.BetterMainLine: |
| | | { |
| | | //通关的 找上一关值 |
| | | totalValue = MainLevelConfig.GetPassedLevel(); |
| | | break; |
| | | } |
| | | } |
| | | |
| | | if (HasAnyAward(_type, totalValue)) |
| | |
| | | case BattlePassType.MainLine: |
| | | case BattlePassType.GuBao: |
| | | case BattlePassType.Arena: |
| | | case BattlePassType.BetterMainLine: |
| | | { |
| | | UpdateCommonBPRedpoint(type); |
| | | break; |
| | |
| | | { |
| | | return (int)battlePassData.value1; |
| | | } |
| | | case BattlePassType.BetterMainLine: |
| | | { |
| | | //通关的 找上一关值 |
| | | return MainLevelConfig.GetPassedLevel(); |
| | | } |
| | | } |
| | | return 0; |
| | | } |
| | |
| | | GuBao = 4, //古宝 |
| | | Arena = 5, //演武场 |
| | | Week = 6, //周战令 |
| | | BetterMainLine = 7, //高级关卡基金 |
| | | } |