hxp
2019-12-20 68be5555215355ff0ad64c44f7635a422d67758d
8346 【恺英】【后端】协助系统(AssistAward数值2key改字符串)
1个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCHurtManager.py
@@ -723,8 +723,8 @@
        liheItemID, assistMoney = 0, 0
        mapAssistGiftDict = IpyGameDataPY.GetFuncEvalCfg("AssistAward", 2, {})
        mapID = FBCommon.GetRecordMapID(GameWorld.GetMap().GetMapID())
        if mapID in mapAssistGiftDict:
            liheItemID, assistMoney = mapAssistGiftDict[mapID]
        if str(mapID) in mapAssistGiftDict:
            liheItemID, assistMoney = mapAssistGiftDict[str(mapID)]
        else:
            killBossCntLimitDict = IpyGameDataPY.GetFuncEvalCfg('KillBossCntLimit') 
            index = GameWorld.GetDictValueByKey(killBossCntLimitDict, self.npcID)