implemented attack delay