From a531569e7cab4dfee86324bd225db34106afe740 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 23 八月 2018 19:37:49 +0800
Subject: [PATCH] fix:修复字符串转整数

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
index a31bf3c..1529906 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
@@ -13,7 +13,7 @@
 #
 # @change: "2016-11-16 15:30" hxp 增加获取衰弱效果信息列表
 #
-# 详细描述: 被动buff效果管理
+# 详细描述: 被动buff效果管理s
 #
 #---------------------------------------------------------------------
 #"""Version = 2016-11-16 15:30"""
@@ -97,14 +97,16 @@
             if key == "MountLv":
                 if PlayerHorse.GetHorseSumLV(curPlayer) < value:
                     return
-                
+            
+
             # 多加一种任务判断
             if key == "OpenSkillSlots":
                 # 主线任务完成时会设置标志可进地图标志
                 mission_1 = QuestCommon.GetCommonMission(curPlayer)
                 if not mission_1:
                     return
-                if strIndex > mission_1.GetProperty("OpenSkillSlots"):
+
+                if int(strIndex) > mission_1.GetProperty("OpenSkillSlots"):
                     return
                 
     PlayerControl.NomalDictSetProperty(curPlayer, 

--
Gitblit v1.8.0