Spikes doesn't affect projectile attacks :)
I am surprised that using magic staff triggered spikes effect :(
you are hitting them with the staff