Problem with custom enchantment requirements

I have a custom enchantment that i want to only activate when a arrow is trowed but when i put the requirement it just stop working, how can i fix it?!?

Continue to help post