Cool. How about simplifying each stat into a function call though;
str += GetStatBonus(lv, 4, 8, 1); ..
Also some of those formulas are not quite as inexact as specified. For instance I figured out the exact exp table here:
I imagine most everything else can be summed up simpler than what it says.Code:for( size_t i(1); i < values.size(); i++ ) { values[i] = values[i - 1] + fc::iround(39.f * powf((float)fc::min<size_t>(i, 29), (float)2)); }