Guest User

Untitled

a guest
May 14th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.02 KB | None | 0 0
  1. function pretarget(spell,action)
  2. -- Auto-Echo drop :D --
  3.     if spell.action_type == 'Magic' and buffactive['Silence'] then
  4.         cancel_spell()
  5.         send_command('input /item "Echo Drops" <me>')
  6. -- Auto Blaze of Glory for lazies :p --    
  7.     elseif string.find(spell.english, 'Geo-') then
  8.         if not buffactive['Bolster'] and not buffactive['Amnesia'] and not pet.isvalid and windower.ffxi.get_ability_recasts()[247] < 1 then
  9.             cancel_spell()
  10.             send_command('input /ja "Blaze of Glory" <me>;wait 2;input /ma "'..spell.english..'" '..spell.target.name)
  11.         end
  12. -- Auto Entrust if you are targeting someone else than you --  
  13.     elseif string.find(spell.english, 'Indi-') then
  14.         if spell.target.type == 'PLAYER' and windower.ffxi.get_ability_recasts()[93] < 1 and not buffactive['Entrust'] and not buffactive['Amnesia']  then
  15.         cancel_spell()
  16.         send_command('input /ja "entrust" <me>;wait 1.5;input /ma "'..spell.name..'" '..spell.target.name..';')    
  17.         end
  18.     end
  19. end
Add Comment
Please, Sign In to add comment