Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function job_precast(spell, action, spellMap, eventArgs)
- if spell.type == 'Step' then
- local allRecasts = windower.ffxi.get_ability_recasts()
- local prestoCooldown = allRecasts[236]
- local under6FMs = not buffactive['Finishing Move 6'] or not buffactive['Finishing Move 7'] or not buffactive['Finishing Move 8']
- if player.main_job_level >= 77 and prestoCooldown < 1 and under6FMs then
- cast_delay(1.1)
- send_command('input /ja "Presto" <me>')
- add_to_chat(8, 'Presto Used.')
- end
- end
- end
Add Comment
Please, Sign In to add comment