Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'pack'
- require 'lists'
- windower.register_event('outgoing chunk',function(id,org)
- if id == 0x5B then
- local name = (windower.ffxi.get_mob_by_id(org:unpack('I',5)) or {}).name
- if L{'Eternal Flame','Rolandienne','Isakoth','Fhelm Jobeizat'}:contains(name) then
- local outstr = org:sub(1,8)
- local choice = org:unpack('I',9)
- if choice == 0 or choice == 0x40000000 then
- return outstr..string.char(9,0,0x29,0)..org:sub(13) -- Archeron Shield
- end
- end
- end
- end)
Add Comment
Please, Sign In to add comment