im sure SE programmers can develop algorthms to do this well, not just based on defense. But usually, higher defense on gear peieces ment for your class means its higher level, which means it gives more stats. I dont think ive ever seen a peice with lower defense giving higher main stats for your class. It all goes up in unison.