Not include an object in "actor"

Oh, what you want to do is get the Hit Actor Component and see if this matches a certain tag or collision channel.

Set the shield collision box tag to “shield” or what not and if the component equals “shield” on it’s tags then don’t inflict damage.