Auto battle (#416)