hch
2018-08-23 cc0fc8b3d5e38212eb02a2e4167084649ff2a1eb
fix:【后端】被动技能槽解锁条件修改,添加任务判断
1个文件已修改
10 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py
@@ -41,6 +41,7 @@
import EventShell
import NPCCommon
import PetControl
import QuestCommon
#GameWorld.ImportAll("Script\\Skill\\", "SkillBoosts")
GameWorld.ImportAll("Script\\Skill\\", "PassiveBuff")
@@ -97,6 +98,15 @@
                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"):
                    return
    PlayerControl.NomalDictSetProperty(curPlayer, 
                                       ChConfig.Def_PDict_GFPassiveIndex%(clientData.Page, clientData.Index),
                                       clientData.SkillID,