Guest User

shields buying

a guest
Jul 27th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. require 'pack'
  2. require 'lists'
  3.  
  4. windower.register_event('outgoing chunk',function(id,org)
  5. if id == 0x5B then
  6. local name = (windower.ffxi.get_mob_by_id(org:unpack('I',5)) or {}).name
  7. if L{'Eternal Flame','Rolandienne','Isakoth','Fhelm Jobeizat'}:contains(name) then
  8. local outstr = org:sub(1,8)
  9. local choice = org:unpack('I',9)
  10. if choice == 0 or choice == 0x40000000 then
  11. return outstr..string.char(9,0,0x29,0)..org:sub(13) -- Archeron Shield
  12. end
  13. end
  14. end
  15. end)
Add Comment
Please, Sign In to add comment