From 866ce280c4c931a34cedd06d86b81019018d4160 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 03 一月 2020 20:33:56 +0800 Subject: [PATCH] 8364 【恺英】【后端】缥缈随机任务(S副本未处理) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestCommon.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestCommon.py index 3d611e9..184b183 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestCommon.py @@ -34,6 +34,7 @@ import GameFuncComm import ChPyNetSendPack import NetPackCommon +import EventShell #--------------------------------------------------------------------- #所有任务的索引 FindQuestFunc = None @@ -74,6 +75,8 @@ Def_NewGuyNoSight = "xinshou" # 新手期隐身无视野 +Def_Mission_Grade = "grade" # 任务评级 + #------------原DayEventData去除,替换枚举管理----------------- ( Day_KillNPC_By_ID_List, #Type = Day_KillNPC_By_ID @@ -103,6 +106,7 @@ Def_GM_Active_Mission_Type = 999 #暂时不用,配大点 Def_Mission_Type_RunDaily = 7 Def_Mission_Type_RunFamily = 12 +Def_Mission_Type_Piaomiao = 25 # 缥缈任务 Def_MainTask_Type_List = [Def_Mission_Type_Main, Def_Mission_Type_MainHid] Def_RunTask_Type_List = [Def_Mission_Type_RunDaily, Def_Mission_Type_RunFamily] @@ -338,6 +342,8 @@ curQuestData = QuestManager.FindQuest(curMissionID) if curQuestData != None: EventReport.WriteEvent_mission_log(curPlayer, curQuestData, 0) + + EventShell.RunQuestEvent(curPlayer, "on_create", curMissionID, EventShell.Def_RunQuestType_Normal) return curMission #--------------------------------------------------------------------- -- Gitblit v1.8.0