|
@@ -156,14 +156,22 @@ namespace GFGGame
|
|
if (StorageDataManager.Instance.GetStorageValue(ConstStorageId.FUNCTION_OPEN + cfg.index) == 1) return true;
|
|
if (StorageDataManager.Instance.GetStorageValue(ConstStorageId.FUNCTION_OPEN + cfg.index) == 1) return true;
|
|
|
|
|
|
List<int> _currentList3 = DressUpMenuSuitDataManager.GetSuitIDList();
|
|
List<int> _currentList3 = DressUpMenuSuitDataManager.GetSuitIDList();
|
|
- if (_currentList3.Count == 0) return false;
|
|
|
|
|
|
+ if (_currentList3.Count == 0)
|
|
|
|
+ {
|
|
|
|
+ if (showTips) PromptController.Instance.ShowFloatTextPrompt(string.Format("收集一套“天衣”套装后解锁"));
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
_currentList3 = SuitUtil.SortSuitListByHighRarity(_currentList3);
|
|
_currentList3 = SuitUtil.SortSuitListByHighRarity(_currentList3);
|
|
if (SuitCfgArray.Instance.GetCfg(_currentList3[0]).rarity == ConstDressRarity.Rarity_TIANYI)
|
|
if (SuitCfgArray.Instance.GetCfg(_currentList3[0]).rarity == ConstDressRarity.Rarity_TIANYI)
|
|
{
|
|
{
|
|
StorageSProxy.ReqSetClientValue(ConstStorageId.FUNCTION_OPEN + cfg.index, 1).Coroutine();
|
|
StorageSProxy.ReqSetClientValue(ConstStorageId.FUNCTION_OPEN + cfg.index, 1).Coroutine();
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
- if (showTips) PromptController.Instance.ShowFloatTextPrompt(string.Format("收集一套“天衣”套装后开启"));
|
|
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ if (showTips) PromptController.Instance.ShowFloatTextPrompt(string.Format("收集一套“天衣”套装后解锁"));
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
return false;
|
|
return false;
|
|
|
|
|