My weapon durability turned red, so my sword was dealing 0 damage.

I went to finish off the mob with shield bash and it did 0 damage. There is nothing wrong with my shield, it's at 70% durability still.

So... is the shield bash supposed to be based off the sword you are wielding?