Mayhem modifier question

When a modifier is stated and doesn’t mention “enemies” does it apply to enemies and the vault hunter? For instance:

-30% Elemental Resist.

I assume that means for everything…both player and enemy alike?

I assume that it’s a trade off between doing more normal damage, but also taking more elemental damage yourself.