Setting up Target for Onuse

#1
So I did some searching on the forum and came up empty, I could also just be tired. I am working on a few mods that make use of the MeleeWeapon Item tag. I was wondering if there is a way to cause the <StatusEffect type="OnUse" target="####"> to Target the Player using the object. It seems to only target other players (which is understandable 'cause it a weapon, why attack yourself) I guess i am asking if there is anyway to get an object where youc an rightclick to "aim" or ready the object, and left click to "use" the object and cause status effects on the player holding it.
cron