From ec3fee8017f0f8d85baf5388098ccac9bc260408 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 20 十二月 2019 12:44:08 +0800 Subject: [PATCH] 8346 【恺英】【后端】协助系统(AssistAward数值1key改字符串) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py index 7ceffe5..d68162b 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py @@ -731,10 +731,10 @@ if index == None: return bossAssistGiftDict = IpyGameDataPY.GetFuncEvalCfg("AssistAward", 1, {}) - if index not in bossAssistGiftDict: + if str(index) not in bossAssistGiftDict: GameWorld.DebugLog("该boss没有协助额外奖励!index=%s" % index, self.npcID) return - liheItemID, assistMoney = bossAssistGiftDict[index] + liheItemID, assistMoney = bossAssistGiftDict[str(index)] if not liheItemID or not assistMoney: GameWorld.DebugLog("该副本或boss没有协助额外奖励!mapID=%s" % (mapID), self.npcID) -- Gitblit v1.8.0