This repository was archived by the owner on Feb 3, 2026. It is now read-only.
Conversation
5065126 to
12dc7fc
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR adds functionality to hide focus targets in the focus list when specific conditions are met. The change implements a rule-based focus hiding mechanism that checks if the maximum distance (nMaxDistance) is set to -1, and if so, hides the focus target and skips subsequent rule processing.
- Added conditional logic to hide focus targets when nMaxDistance equals -1
- Modified the focus display logic to respect the hide focus rule
Comments suppressed due to low confidence (1)
MY_Focus/src/MY_Focus.lua:885
- The comment contains garbled characters that appear to be encoding issues. The Chinese text should be properly encoded to display correctly.
--2025.8.16�������ؽ��㷽������������������ж��������Ƿ�Ϊ-1����Ϊ-1����ʾ���㲢�����������
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Contributor
Author
|
已按提示修改标题为fix: |
tinymins
approved these changes
Aug 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
焦点列表:增加隐藏焦点方法,当满足规则(血量百分比、目标关系)时,判断最大距离(nMaxDistance)是否为-1,若为-1则不显示焦点并跳出后续规则遍历。