hch
2018-08-30 085b4bfd72e181f644bca406554b589c0ea680cc
3114 子 任务 / 【后端】增加解锁被动技能孔的接口
2个文件已修改
19 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/PassiveBuffEffMng.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
@@ -7210,4 +7210,19 @@
    else:
        curPlayer.SetVisible(False)
        curPlayer.SetSight(0)
    return
    return
# 被动技能孔
def DoType_Open_Skill_Slots(curPlayer, curMission, curActionNode):
    # 开孔
    slotIndex = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
    mission_1 = QuestCommon.GetCommonMission(curPlayer)
    if not mission_1:
        return
    mission_1.SetProperty("OpenSkillSlots", pow(2, slotIndex)|mission_1.GetProperty("OpenSkillSlots"))
    return
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,