hxp
2019-10-29 2941a7635bb04ca59afa820b51a23aca9dc70eb9
4610 【恺英】【bug】脱机上线报错
1个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -840,8 +840,8 @@
        doCnt *= killCount
        
        totalRate = dropRate * doCnt
        dropCount = totalRate / maxRate # 可掉落件数
        rateEx = totalRate % maxRate # 剩余概率
        dropCount = totalRate / Def_NPCMaxDropRate # 可掉落件数
        rateEx = totalRate % Def_NPCMaxDropRate # 剩余概率
        if GameWorld.CanHappen(rateEx, Def_NPCMaxDropRate):
            dropCount += 1
        dropIDList += [itemID] * dropCount