Basically, you need a JASS system that check if appon attacking, it is not issued an order to attack before it hits the attack backward's swing point which is when the projectile is launched). A timer is all that should be needed with the standard event and a few variables.
As for the arrows, a simple statking system could be used. Check out the tutorials section and spells section.