Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function job_precast(spell, action, spellMap, eventArgs)
- if spell.type == 'BardSong' then
- -- Auto-Pianissimo
- if ((spell.target.type == 'PLAYER' and not spell.target.charmed) or (spell.target.type == 'NPC' and spell.target.in_party)) and
- not state.Buff['Pianissimo'] then
- local spell_recasts = windower.ffxi.get_spell_recasts()
- if spell_recasts[spell.recast_id] < 2 then
- send_command('@input /ja "Pianissimo" <me>; wait 1.5; input /ma "'..spell.name..'" '..spell.target.name)
- eventArgs.cancel = true
- return
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement