attack finish before switching to wait state