If someone is successfully hiding and attacks a target from range, first, does that target get its Dex bonus to AC? ie, can it be sneak attacked?
Secondly, if you're attacking with a spell that has only a somatic component (silent sound), would it be possible to remain hidden? There are rules...