I have been looking up posts trying to figure this out, I have a Gandiva and I'm trying to have it swap my midcast set when aftermath is up automatically. This is what I wrote, but its not working:
if spell.action_type == 'Ranged Attack' and buffactive == 'Aftermath: Lv.3' then
equip(sets.midcast.RA.Aftermath)
elseif spell.action_type == 'Ranged Attack' then
equip(sets.midcast.RA)
end
Any help would be greatly appreciated, or if you can post what works that helps too! :D Thanks in advance!