流し読みしたけど従来あるアドオンを改造しようとしてるから難しくなってるんじゃないかい
そのアドオンコード追ったことないけど使わなきゃらならない理由はなんだろう
windower.register_event('incoming chunk', function(id, data)
if id == 0x028 then
(windower.packets.parse_action(data))
elseif id == 0x029 then
local dbf= {}
dbf.target_id = data:unpack('I',0x09)
dbf.param_1 = data:unpack('I',0x0D)
dbf.message_id = data:unpack('H',0x19)%32768
message関係(dbf)
end
end)
あとfunction update作って
get_playerとget_mob_by_targetをupdateかけて
function show_off_debuff(debuff_table, debuffId)作って返してやればいい