A C++ repository for battle formulas