adding client to battle logic