121 【武将】武将系统-服务端(修复个别情况下上阵中的生效卡被视为未生效的bug;)
1个文件已修改
6 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerOnline.py 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerOnline.py
@@ -470,8 +470,10 @@
        if inMain:
            updEffectiveCardDict[heroID] = [cardAddPer, index, inMain]
        else:
            addPer = updEffectiveCardDict.get(heroID, [-1, -1, False])[0]
            if cardAddPer > addPer:
            effInfo = updEffectiveCardDict.get(heroID, [-1, -1, False])
            if effInfo[2] == True:
                pass #GameWorld.Log("    已经有在阵容中的生效卡了: index=%s" % effInfo[1])
            elif cardAddPer > effInfo[0]:
                updEffectiveCardDict[heroID] = [cardAddPer, index, inMain]
                
    # 更新生效变更的卡牌