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/Event/EventSrc/QuestRunner.py |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
index efcba16..fc57f03 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
@@ -7210,4 +7210,19 @@
     else:
         curPlayer.SetVisible(False)
         curPlayer.SetSight(0)
-    return
\ No newline at end of file
+    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
+
+

--
Gitblit v1.8.0