change attack method