So in that game the player blocks it by pressing an action button, which plays a hit animation. So when you do the collision test for the bomb hitting the player character you can check if the player is playing the hit animation. Then apply a different effect for the bomb.