| | |
| | | { |
| | | var unlockCnt = GetUnlockCnt(funcType); |
| | | var maxCount = PresetUnlockConfig.GetFuncPresetMaxCount(funcType); |
| | | var unlockType = PresetUnlockConfig.GetUnlockType((int)FuncPresetType.Mingge); |
| | | var unlockType = PresetUnlockConfig.GetUnlockType(funcType); |
| | | if (unlockType == 2) |
| | | { |
| | | //命格按推演境界解锁 |
| | | //只有1个方案则不显示,大于1个则全显示 |
| | | if (unlockCnt == 1) |
| | | { |
| | | var config = PresetUnlockConfig.GetPresetUnlockConfig((int)FuncPresetType.Mingge, 2); |
| | | var config = PresetUnlockConfig.GetPresetUnlockConfig(funcType, 2); |
| | | if (MinggeManager.Instance.m_GanwuLV >= config.UnlockValue) |
| | | { |
| | | return maxCount; |