Only targeted abilities from enemies (those that say "Target" or "Attack") are prevented by invisibility.