10263 【英文】【BT】【GM】后端支持NPC仿真实玩家战斗和快速战斗(触发被动死循环防范修改;)
2个文件已修改
4 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BaseAttack.py
@@ -1973,7 +1973,7 @@
    #PlayerControl.DoPlayerStand(curPlayer)
    #激活玩家
    PlayerControl.SetIsNeedProcess(curPlayer, True)
    # 暂且只有玩家被攻击触发
    if not curSkill or curSkill.GetSkillType() in ChConfig.Def_CanAttackSkill_List:
        # 优先触发,如无敌可以抵挡后续的被动伤害技能
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -3809,7 +3809,7 @@
        #GameWorld.DebugLog("PyGameData.g_singleAtkRecordList: %s, %s" % (len(PyGameData.g_singleAtkRecordList), PyGameData.g_singleAtkRecordList))
        if len(PyGameData.g_singleAtkRecordList) >= 50:
            mapID = GameWorld.GetMap().GetMapID()
            GameWorld.SendGameError("MirrorAIAtkDepthError", "mapID=%s,%s" % (mapID, PyGameData.g_singleAtkRecordList))
            GameWorld.SendGameError("MirrorAIAtkDepthError", "mapID=%s, %s" % (mapID, PyGameData.g_singleAtkRecordList))
            PyGameData.g_singleAtkRecordList = None
            return result