xdh
2019-05-21 d79ccd070582a1f297e4ea9f63a218fab675bcb6
6501 新增任务接口
2个文件已修改
5 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFairyDomain.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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):
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