It looks like you're new here. If you want to get involved, click one of these buttons!
Any ranged attack (weapon, spell, power, ability, or whatever) draws opportunity attacks from enemies engaged with you that you don't target with the attack.
Most spells draw opportunity attacks from enemies engaged with you, even the enemies you target with the spell. Close-quarters spells are the exception; they don't draw opportunity attacks.