Skip to content

Commit 2d32721

Browse files
committed
获取BUFF接口增加返回字段
1 parent dd2bafb commit 2d32721

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MY_!Base/src/MY.Game.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,9 +2149,13 @@ function MY.GetBuffList(...)
21492149
for i = 1, nCount do
21502150
local dwID, nLevel, bCanCancel, nEndFrame, nIndex, nStackNum, dwSkillSrcID, bValid = KObject.GetBuff(i - 1)
21512151
if dwID then
2152+
local szName, nIcon = MY.GetBuffName(dwID, nLevel)
21522153
table.insert(aBuffTable, {
2154+
szKey = dwID .. ',' .. nLevel,
21532155
dwID = dwID ,
21542156
nLevel = nLevel ,
2157+
szName = szName ,
2158+
nIcon = nIcon ,
21552159
bCanCancel = bCanCancel ,
21562160
nEndFrame = nEndFrame ,
21572161
nIndex = nIndex ,

0 commit comments

Comments
 (0)