How does the feature involving the zombie shield work? Does it use your current weapon or does it do it some other way?

Thanks in advance.