Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | return; |
| | | } |
| | | |
| | | if (config.CostItemDict.x > 0 && specialMaterial.value == 0) |
| | | { |
| | | SysNotifyMgr.Instance.ShowTip("StarLevelUp2", config.CostItemDict.x); |
| | | return; |
| | | } |
| | | |
| | | if (config.CostItemDict.x > 0 && packModel.GetItemCountByID(PackType.Item, config.CostItemDict.x) < config.CostItemDict.y) |
| | | { |
| | | SysNotifyMgr.Instance.ShowTip("StarLevelUp2", config.CostItemDict.x); |
| | |
| | | } |
| | | } |
| | | |
| | | if (materialIndexs.Count < (config.CostEquipCnt + (config.CostItemDict.x > 0 ? 1 : 0))) |
| | | if (materialIndexs.Count < config.CostEquipCnt) |
| | | { |
| | | SysNotifyMgr.Instance.ShowTip("StarLevelUp3"); |
| | | return; |