I don't know about attack and defense, but I prioritize logistics first, then magic, preferably all of it, and after that, whatever gives a good bonus...
There are artifacts for attack and defense, but magic can't be replaced by anything...
New here? I'm Roha — want a quick tour?