From 085b4bfd72e181f644bca406554b589c0ea680cc Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期四, 30 八月 2018 20:37:09 +0800 Subject: [PATCH] 3114 子 任务 / 【后端】增加解锁被动技能孔的接口 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py | 2 +- 1 files changed, 1 insertions(+), 1 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..b852b8c 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py @@ -106,7 +106,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