9319 【BT3】【BT4】【BT5】【主干】集字的掉落无等级限制(去除脱机掉落表最大等级掉落限制;集字表掉落等级限制依然有效)
1个文件已修改
11 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCCommon.py
@@ -741,11 +741,12 @@
    if not ipyDrop:
        return
    
    playerLV = dropPlayer.GetLV()
    maxDropLV = ipyDrop.GetMaxDropLV()
    if maxDropLV and playerLV > maxDropLV:
        GameWorld.DebugLog("超过最大可掉落等级,不掉落物品!npcID=%s,playerLV(%s) > maxDropLV(%s)" % (npcID, playerLV, maxDropLV))
        return
    #脱机暂不限制最大等级掉落
    #playerLV = dropPlayer.GetLV()
    #maxDropLV = ipyDrop.GetMaxDropLV()
    #if maxDropLV and playerLV > maxDropLV:
    #    GameWorld.DebugLog("超过最大可掉落等级,不掉落物品!npcID=%s,playerLV(%s) > maxDropLV(%s)" % (npcID, playerLV, maxDropLV))
    #    return
    
    playerID = dropPlayer.GetPlayerID()
    npcData = GameWorld.GetGameData().FindNPCDataByID(npcID)