Add a blocking defense mechanism, pressing the attack button at the moment when the player character is about to be attacked can produce a blocking effect, and the player will not be harmed