From d79ccd070582a1f297e4ea9f63a218fab675bcb6 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期二, 21 五月 2019 14:05:46 +0800
Subject: [PATCH] 6501 新增任务接口
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py | 3 ++-
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
index b2273bb..721a1dd 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -1899,9 +1899,10 @@
RunQuestEvent(curPlayer, "talk", eventName, Def_RunQuestType_Normal)
return
-def EventRespons_FairyDomain(curPlayer):
+def EventRespons_FairyDomain(curPlayer, eventType):
#完成缥缈仙域事件
RunQuestEvent(curPlayer, "fairydomain", 'fairydomain', Def_RunQuestType_Normal)
+ RunQuestEvent(curPlayer, "fairydomain", eventType, Def_RunQuestType_Normal)
return
def EventRespons_AroundMission(curPlayer, missionType):
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 5e2d28f..e60a634 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py
@@ -328,7 +328,7 @@
# if curState != FDEventState_Visiting:
# GameWorld.Log('缥缈仙域事件状态设置错误,fdeventID=%s, state=%s, curState=%s' % (fdeventID, state, curState))
# return
- EventShell.EventRespons_FairyDomain(curPlayer)
+ EventShell.EventRespons_FairyDomain(curPlayer, ipyData.GetEventType())
PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FairyDomainEventState % fdeventID, state)
NotifyVisitFairyDomainInfo(curPlayer, [fdeventID], 0)
return True
--
Gitblit v1.8.0