453 子 【付费】新增定军阁基金 / 【付费】定军阁基金-客户端
| | |
| | | } |
| | | else if (config.ZhanlingType == (int)BattlePassType.BetterMainLine) |
| | | { |
| | | valueText.text = config.NeedValue/100 + "-" + config.NeedValue%100; |
| | | valueText.text = config.NeedValue / 100 + "-" + config.NeedValue % 100; |
| | | } |
| | | else if (config.ZhanlingType == (int)BattlePassType.DJG) |
| | | { |
| | | valueText.text = config.NeedValue / 100 + "-" + config.NeedValue % 100; |
| | | } |
| | | else |
| | | { |
| | |
| | | totalActivityText.text = Language.Get("BattlePassValue3", totalValue / 100, totalValue % 100);
|
| | | break;
|
| | | }
|
| | | case BattlePassType.DJG:
|
| | | {
|
| | | totalActivityText.text = Language.Get("BattlePassValue8", totalValue / 100, totalValue % 100);
|
| | | break;
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | totalValue = MainLevelConfig.GetPassedLevel(); |
| | | break; |
| | | } |
| | | case BattlePassType.DJG: |
| | | { |
| | | WarlordPavilionManager.Instance.TryGetHistoryMaxFinishProgress(out int layerNum, out int levelNum); |
| | | //通关 |
| | | totalValue = layerNum*100 + levelNum; |
| | | break; |
| | | } |
| | | } |
| | | |
| | | if (HasAnyAward(_type, totalValue)) |
| | |
| | | case BattlePassType.GuBao: |
| | | case BattlePassType.Arena: |
| | | case BattlePassType.BetterMainLine: |
| | | case BattlePassType.DJG: |
| | | { |
| | | UpdateCommonBPRedpoint(type); |
| | | break; |
| | |
| | | //通关的 找上一关值 |
| | | return MainLevelConfig.GetPassedLevel(); |
| | | } |
| | | case BattlePassType.DJG: |
| | | { |
| | | WarlordPavilionManager.Instance.TryGetHistoryMaxFinishProgress(out int layerNum, out int levelNum); |
| | | //通关 |
| | | return layerNum * 100 + levelNum; |
| | | } |
| | | |
| | | |
| | | } |
| | | return 0; |
| | | } |
| | |
| | | Arena = 5, //演武场 |
| | | Week = 6, //周战令 |
| | | BetterMainLine = 7, //高级关卡基金 |
| | | DJG = 8, // 定军阁 |
| | | } |
| | |
| | | { |
| | | return false; |
| | | } |
| | | int layerNum = 0; |
| | | WarlordPavilionManager.Instance.TryGetHistoryMaxPassLayerNum(out layerNum); |
| | | if (layerNum < openConditions[2]) |
| | | if (!WarlordPavilionManager.Instance.TryGetHistoryMaxFinishProgress(out int layerNum, out int levelNum)) |
| | | return false; |
| | | |
| | | if (layerNum*100 + levelNum < openConditions[2]) |
| | | { |
| | | return false; |
| | | } |