8605 【港台】【BT2】【后端】新增限时集字活动(boss支持按boss分类配置不同的掉落饼图)
1个文件已修改
9 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActCollectWords.py 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerActCollectWords.py
@@ -158,7 +158,14 @@
            #GameWorld.DebugLog("    集字活动最后一天不掉落! actName=%s,cfgID=%s, %s" % (actName, cfgID, curDateStr))
            return
        
    return ipyData.GetDropItemRateListBoss() if isBoss else ipyData.GetDropItemRateList()
    if not isBoss:
        return ipyData.GetDropItemRateList()
    bossDropRateListInfo = ipyData.GetDropItemRateListBoss()
    npcID = npcData.GetNPCID()
    killBossCntLimitDict = IpyGameDataPY.GetFuncCfg('KillBossCntLimit', 1)
    limitIndex = GameWorld.GetDictValueByKey(killBossCntLimitDict, npcID)
    return bossDropRateListInfo.get(limitIndex, [])
def OnGetDropWordsItemDict(curPlayer, npcData, killCount):
    ## 获取脱机掉落物品