| | |
| | | {
|
| | | ItemConfig config = Config.Instance.Get<ItemConfig>(itemId);
|
| | | int playerJob = PlayerDatas.Instance.baseData.Job;
|
| | | if (config == null || (!isCompare && compareSocre <= 0) || config.EquipPlace == 0) return 0;
|
| | | if (config == null || (!isCompare && compareSocre <= 0) || config.EquipPlace == 0 || score == compareSocre) return 0;
|
| | |
|
| | | ItemModel model = playerPack.GetItemModelByGUID(guid);
|
| | | if (model != null && modelInterface.IsOverdue(guid, itemId, model.useDataDict)) return 1;
|
| | |
| | | {
|
| | | compareSocre = GetCompareSocre(PackType.rptDogzEquip, config.EquipPlace);
|
| | | }
|
| | | if(score == compareSocre)
|
| | | {
|
| | | return 0;
|
| | | }
|
| | | else
|
| | | {
|
| | | return score > compareSocre ? 2 : 3;
|
| | | }
|
| | | }
|
| | |
|
| | | if (score == compareSocre)
|
| | | {
|
| | | return 0;
|
| | | }
|
| | | else
|
| | | {
|