From 3689771a156b44781aa3904e7ad95580f7e561c7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 20 四月 2019 14:19:38 +0800
Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(进入跨服副本判断及坐标逻辑优化,仙草园进入支持扣除门票)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
index f04aebc..3ca5ad2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
@@ -216,6 +216,22 @@
         
     return randomResultList
 
+def GetFairyDomainFBEventState(curPlayer, mapID, lineID):
+    ## 获取缥缈相关副本寻访状态
+    ipyData = IpyGameDataPY.GetIpyGameDataByCondition("FairyDomain", {"MapID":mapID, "LineID":lineID})
+    if not ipyData:
+        return FDEventState_No
+    fdeventID = ipyData.GetID()
+    curState = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_FairyDomainEventState % fdeventID)
+    return curState
+
+def SetFairyDomainFBEventState(curPlayer, mapID, lineID, state):
+    ## 设置缥缈相关副本寻访状态
+    ipyData = IpyGameDataPY.GetIpyGameDataByCondition("FairyDomain", {"MapID":mapID, "LineID":lineID})
+    if not ipyData:
+        return False
+    fdeventID = ipyData.GetID()
+    return SetFairyDomainEventState(curPlayer, fdeventID, state)
 
 def SetFairyDomainEventState(curPlayer, fdeventID, state):
     ## 设置缥缈事件状态, return 是否成功

--
Gitblit v1.8.0