prevents attacking while climbing