AS far as I can see the hit register before you exit the wilderness. My question is more, do the attack continue after that one hit?
If it do not, you'll need to in the hits make it not hit if the other player is not in wilderness by the time it lands.