attack routine