From b85693e99689649bb80518d7764271a00af8bc15 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 01 九月 2018 16:33:40 +0800
Subject: [PATCH] Fix: 3156 【后端】仙盟联赛参赛资格受仙盟等级限制

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py |    4 +---
 1 files changed, 1 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 1529906..f894fb4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
@@ -26,7 +26,6 @@
 import GameWorld
 import ChConfig
 import IpyGameDataPY
-#import SkillBoosts
 import SkillCommon
 import BuffSkill
 import SkillShell
@@ -43,7 +42,6 @@
 import PetControl
 import QuestCommon
 
-#GameWorld.ImportAll("Script\\Skill\\", "SkillBoosts")
 GameWorld.ImportAll("Script\\Skill\\", "PassiveBuff")
 
 
@@ -106,7 +104,7 @@
                 if not mission_1:
                     return
 
-                if int(strIndex) > mission_1.GetProperty("OpenSkillSlots"):
+                if (pow(2, int(strIndex)) & mission_1.GetProperty("OpenSkillSlots")) == 0:
                     return
                 
     PlayerControl.NomalDictSetProperty(curPlayer, 

--
Gitblit v1.8.0