Moved the attack coroutine where it belongs.