Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion MY_CombatText/src/MY_CombatText.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end
--------------------------------------------------------------------------
local SKILL_RESULT_TYPE = SKILL_RESULT_TYPE
local GetSkill, Random = GetSkill, Random
local Table_GetBuffName, Table_GetSkillName, Table_BuffIsVisible = Table_GetBuffName, Table_GetSkillName, Table_BuffIsVisible
local Table_GetBuff, Table_GetBuffName, Table_GetSkillName, Table_BuffIsVisible = Table_GetBuff, Table_GetBuffName, Table_GetSkillName, Table_BuffIsVisible

-- Õ½¶·¸¡¶¯ÎÄ×ÖÉè¼ÆË¼Â·
--[[
Expand Down Expand Up @@ -1090,6 +1090,10 @@ function D.OnSkillBuff(dwCharacterID, bCanCancel, dwID, nLevel)
if not Table_BuffIsVisible(dwID, nLevel) then
return
end
local tBuff = Table_GetBuff(dwID, nLevel)
if tBuff and tBuff.bHideAddName and tBuff.bHideAddName ~= 0 then
return
end
local szBuffName = Table_GetBuffName(dwID, nLevel)
if szBuffName == '' then
return
Expand Down
Loading