What causes my eternal hammer to do less damage the my legendary lance

Can some one explain this to me please?

The DPS here is based off the primary attacks between the two weapons as if you’re using it. We hope to at least add an option to make comparing based on what you’re interested in, whether it’s just the stats on the weapon, primary attacks, or special attacks.

Thanks for the replay that clears it up for me. Love the game.