From f3c34e89edad573a7d4c7fed9e4aad621f33e22f Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期六, 18 八月 2018 14:21:02 +0800
Subject: [PATCH] fix:增加境界升级任务接口

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py |    7 +++++++
 1 files changed, 7 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..fb06418 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,13 @@
     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 <Active_Magicweapon id="法宝ID"/>

--
Gitblit v1.8.0