I mean as they did with the skills!
So like, instead of having 120 variables added for a skill with 30 levels and 4 elements/level, they just have one simple formula for each variable. That cuts 120 lines down to 5 lines (one line/element + line for maxLevel). Hopefully this stays client-side.