The wiki says the extra light damage scales with melee power. Is this the case even if you're using a ranged weapon? Or in that case it scales off ranged power?

Thanks for your time