Guest User

Presto

a guest
Nov 6th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 0 0
  1. function job_precast(spell, action, spellMap, eventArgs)
  2.  
  3.     if spell.type == 'Step' then
  4.         local allRecasts = windower.ffxi.get_ability_recasts()
  5.         local prestoCooldown = allRecasts[236]
  6.         local under6FMs = not buffactive['Finishing Move 6'] or not buffactive['Finishing Move 7'] or not buffactive['Finishing Move 8']
  7.        
  8.         if player.main_job_level >= 77 and prestoCooldown < 1 and under6FMs then
  9.             cast_delay(1.1)
  10.             send_command('input /ja "Presto" <me>')
  11.             add_to_chat(8, 'Presto Used.')
  12.         end
  13.     end
  14.    
  15. end
Add Comment
Please, Sign In to add comment