From 2362341e2a9f8467408ac4b99e1108ace98036fa Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 20 八月 2018 20:13:42 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 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 2e50fe6..5962869 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
@@ -7091,6 +7091,20 @@
     alchemyLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_AlchemyLV)
     return alchemyLV >= stoveLV
 
+##境界是否达到X级
+# @param None
+# @return None <Realmlv value="Realmlv"/>
+def ConditionType_Realmlv(curPlayer, curMission, curActionNode):
+    realmlv = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
+    return curPlayer.GetOfficialRank() >= realmlv
+
+##法宝之魂是否激活
+# @param None
+# @return None <Mwsoul value="id"/>
+def ConditionType_Mwsoul(curPlayer, curMission, curActionNode):
+    soulID = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
+    return bool(PlayerMagicWeapon.GetIsActiveMWSoul(curPlayer, soulID))
+
 ##激活法宝,确认与成就逻辑后使用
 # @param None
 # @return None <Active_Magicweapon id="法宝ID"/>

--
Gitblit v1.8.0