Would the level 7 Ability "Magic Arrow" work against a target with an anti-magic field?
The Magic Arrow Description says:
At 7th level, you gain the ability to infuse arrows with magic. Whenever you fire a nonmagical arrow from a shortbow or longbow, you can make it magical for the purpose of overcoming resistance and immunity to nonmagical attacks and damage. The magic fades from the arrow immediately after it hits or misses its target.
And the Antimagic Field description says:
The properties and powers of magic items are suppressed in the sphere. For example, a +1 longsword in the sphere functions as a nonmagical longsword. A magic weapon's properties and powers are suppressed if it is used against a target in the sphere or wielded by an attacker in the sphere.
Because it says its for the purpose of magical for the purpose of "resistance and immunity to nonmagical attacks and damage" would I still be able to hit a creature with immunity to magical piercing damage?