so i would think that the walls and the projectiles would be separate actors yes? you were saying that they were all in the same blueprint earlier so i guess there was a misunderstanding.
if they are two separate actors then you want something more like the following picture where theres a few different ways to accomplish the task. method one is similar to the method described before where on collision the wall tests the projectile to see if it matches a certain class and if it does match then it does a particular thing. in the picture i made a fire wall so when its hit by a projectile of the waterProjectile class the wall takes damage, but if its hit by a fireProjectile then the wall gains health. the second method is similar but it uses only one projectile class and just gets a variable from the projectile class (element) and compares that to a variable in the wall (wall element) and uses this information to decide if the wall should take damage to be healed.
let me know if im on the right track.