My 2017 Corolla car battery ran flat and some man tried to assist me to jump start it. When he attacked the jumper leads he attached both leads to my battery causing it to spark. We quickly detached one and attached it to the frame instead. After attempting to charge the battery the jumper leads caught fire on his end and we stopped. I later had a friend bring up a jumper pack which we attached and the car turned over straight away. All the electricals are working but when I put it into drive, the car would not accelerate. Even with my foot all the way down, it does not rev. It also has a “lumpy” idle.