Improved battle processing.