I broke atmega328p pins

Are they important,

Yes.
You can get a replacement chip with pre burned bootloader if you look on the net.