Pots while attacking not working