Semi-working battle system, but stuck on how to assign a dominant stat based on class.