Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function pretarget(spell,action)
- -- Auto-Echo drop :D --
- if spell.action_type == 'Magic' and buffactive['Silence'] then
- cancel_spell()
- send_command('input /item "Echo Drops" <me>')
- -- Auto Blaze of Glory for lazies :p --
- elseif string.find(spell.english, 'Geo-') then
- if not buffactive['Bolster'] and not buffactive['Amnesia'] and not pet.isvalid and windower.ffxi.get_ability_recasts()[247] < 1 then
- cancel_spell()
- send_command('input /ja "Blaze of Glory" <me>;wait 2;input /ma "'..spell.english..'" '..spell.target.name)
- end
- -- Auto Entrust if you are targeting someone else than you --
- elseif string.find(spell.english, 'Indi-') then
- if spell.target.type == 'PLAYER' and windower.ffxi.get_ability_recasts()[93] < 1 and not buffactive['Entrust'] and not buffactive['Amnesia'] then
- cancel_spell()
- send_command('input /ja "entrust" <me>;wait 1.5;input /ma "'..spell.name..'" '..spell.target.name..';')
- end
- end
- end
Add Comment
Please, Sign In to add comment