Updated attack defense logic.