From 77ffb6b3fddc47a8fdc20d3c36c02e5a850a0ea5 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期五, 24 八月 2018 14:43:22 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
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