Reduced cyclomatic complexity in BMAttackPower by removing conditions from if statement