fixed battle bug；added offline button（群主逼我用英文惨无人道。。）

Signed-off-by: wjk <478286460@qq.com>