| | |
| | | private int GetEquipScore(PackType type,int itemId, Dictionary<AttrEnum, int> specAttrDict)
|
| | | {
|
| | | tagChinModel = Config.Instance.Get<ItemConfig>(itemId);
|
| | | if (tagChinModel == null || !GeneralConfig.Instance.CompareEquipPlaces.Contains(tagChinModel.EquipPlace)) return 0;
|
| | | if (tagChinModel == null || !GeneralDefine.CompareEquipPlaces.Contains(tagChinModel.EquipPlace)) return 0;
|
| | |
|
| | | Equation.Instance.Clear();
|
| | | _tagGsProValueDict = EquipGSParamConfig.GetTagGsProValueDict(tagChinModel.LV, tagChinModel.ItemColor,tagChinModel.StarLevel);
|
| | |
| | | else
|
| | | {
|
| | | var _realmLv = 1;
|
| | | GeneralConfig.Instance.wingEquipLimits.TryGetValue(itemId, out _realmLv);
|
| | | GeneralDefine.wingEquipLimits.TryGetValue(itemId, out _realmLv);
|
| | | var needRealmConfig = Config.Instance.Get<RealmConfig>(_realmLv);
|
| | | var curRealmConfig = Config.Instance.Get<RealmConfig>(PlayerDatas.Instance.baseData.realmLevel);
|
| | |
|