hxp
2019-12-20 ec3fee8017f0f8d85baf5388098ccac9bc260408
8346 【恺英】【后端】协助系统(AssistAward数值1key改字符串)
1个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)