From fff892296db7b76a06ab13ffb47a512b655cd12c Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期五, 24 八月 2018 14:24:10 +0800
Subject: [PATCH] [1689】增加需要进行比较的装备位置配置
---
System/KnapSack/Logic/PackModelInterface.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/KnapSack/Logic/PackModelInterface.cs b/System/KnapSack/Logic/PackModelInterface.cs
index 732ba70..be80686 100644
--- a/System/KnapSack/Logic/PackModelInterface.cs
+++ b/System/KnapSack/Logic/PackModelInterface.cs
@@ -289,7 +289,7 @@
private int GetEquipScore(PackType type,int itemId, Dictionary<AttrEnum, int> specAttrDict)
{
tagChinModel = Config.Instance.Get<ItemConfig>(itemId);
- if (tagChinModel == null || tagChinModel.EquipPlace == 0) return 0;
+ if (tagChinModel == null || !GeneralConfig.Instance.CompareEquipPlaces.Contains(tagChinModel.EquipPlace)) return 0;
Equation.Instance.Clear();
_tagGsProValueDict = EquipGSParamConfig.GetTagGsProValueDict(tagChinModel.LV, tagChinModel.ItemColor,tagChinModel.StarLevel);
--
Gitblit v1.8.0