Does Heartstriker work for melee hunter?

There have been weird chance on hit interactions in the past i was just wondering before taking an item.

It literally says “ranged hit” on the tooltip.

melee attacks are not “ranged hits”

Hah that it does there goes wishful thinking lol thanks =)

Zg bow - somthing sting is the one I was wondering about. It just says chance on hit