Implemented attack delay. Changed some debug messages