I thought it was based on both, and that a 170 weapon would only deal 100% of it's 170 damage.
I have read here people who have tested it against high level enemies in PvE and have talked about it being rubbish.
English
-
Tested in King's Fall on Trash with Mida and Tears upon Stars. Did about 2% less damage with the Mida. (Not counting explosive rounds damage.)