So what's the big deal with filtered_action? Well, look at a tidbit of code from my RUN.lua:
function filtered_action(spell)
if player.sub_job == "BLU" then
send_command('@input /ma Cocoon <me>')
cancel_spell()
return
elseif player.sub_job == "SAM" then
send_command('@input /ja Hasso <me>')
cancel_spell()
return
elseif player.sub_job == "WHM" then
send_command('@input /ma Haste <me>')
cancel_spell()
return
else
cancel_spell()
end
endMy main RUN macroset has a macro for Utsusemi, since my main sub is /NIN. I'm a lazy bastard, so instead of writing new macrosets when I'm using different subjobs, I decided to make my Utsusemi macro cast different stuff! So, if I try to use my Utsusemi macro (or everything I can't cast at that moment whatsoever), it'll change to a Cocoon macro when I'm /BLU, a Hasso macro whem I'm /SAM and a Haste macro when I'm /WHM! Neat, huh?
Alexcennah Default replied
577 weeks ago