From dd10f9563d8964cb80a3c2fd496cd08be549fd7c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 14 三月 2020 17:34:11 +0800
Subject: [PATCH] 8401 【后端】BOSS复活修改(AC08封包增加每日最大可复活次数通知)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MissionDir.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MissionDir.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MissionDir.py
index 18b535e..97539e6 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MissionDir.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MissionDir.py
@@ -45,7 +45,8 @@
     MissionState = curMission.GetState()
     DescriptionIndex = curMission.GetDescriptionIndex()
     curQuestData = QuestManager.FindQuest(MissionID)
-    GameWorld.DebugAnswer(curPlayer, "ID:%d\t状态:%d\t索引:%d    %s" % (MissionID, MissionState, DescriptionIndex, curQuestData.Name))
+    name = curQuestData.Name if curQuestData else ""
+    GameWorld.DebugAnswer(curPlayer, "ID:%d\t状态:%d\t索引:%d    %s" % (MissionID, MissionState, DescriptionIndex, name))
     if not isShowKey:
         return
     

--
Gitblit v1.8.0