129 【战斗】战斗系统-服务端(优化一定包含自己逻辑确保一定包含自己;)
1个文件已修改
6 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/TurnSkill.py
@@ -524,9 +524,9 @@
            
    # 一定包含自己
    if tagFriendly == 2 and not isNoSelf:
        if curBatObj not in aimObjList:
            aimObjList.append(curBatObj)
        aimObjList.remove(curBatObj)
        aimObjList.insert(0, curBatObj)
    # 最后去除多余的目标
    if tagCount and len(aimObjList) > tagCount:
        aimObjList = aimObjList[:tagCount]