compiling battleStatPatterns