Repository navigation
fix(战斗浮动文字): 配置了隐藏弹出名称的 BUFF 不再飘获得文字 - #116
Merged
Merged
Conversation
官方 BUFF 表有「隐藏弹出名称」字段 (bHideAddName),官方界面已按它隐藏, 插件之前不认,淬体珠等 BUFF 的获得飘字一直在刷屏,玩家反馈影响观感。 OnSkillBuff 里补上这个判断,配置了该字段的 BUFF 不再创建获得飘字。
tinymins
approved these changes
Oct 8, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
问题
缘起客户端的 BUFF 表新增了「隐藏弹出名称」字段
bHideAddName(官方 r275664,2026-09-07,buff.txt的HideAddName列)。官方飘字和战斗日志已按它隐藏 BUFF 获得提示,插件不认。玩家反馈淬体珠的 BUFF「淬体·剑势」(66496,目前唯一勾选了该字段的 BUFF)获得飘字影响观感。
改动
MY_CombatText的D.OnSkillBuff里读取Table_GetBuff(dwID, nLevel).bHideAddName,非 0 时不显示获得飘字。仅改动MY_CombatText/src/MY_CombatText.lua一个文件。版本说明
HideAddName列。字段为 nil 时判断直接放行,行为与改动前一致,不会报错,也没有收益。依据
官方飘字用的是同一个判断:
ui\Script\table.lua的Table_BuffHideAddNameTip:tBuff and tBuff.bHideAddName and tBuff.bHideAddName ~= 0CombatText.lua/CombatTextWnd.lua在 BUFF 获得飘字前调用它这里直接用
Table_GetBuff读字段,不依赖Table_BuffHideAddNameTip是否存在,写法与MY_TargetMon的D.IsShieldedBuff一致。测试