How do features like Rapid Shot or Flurry of Blows or any other form of a multiple attack scenario work with an invisible character?
Let's assume that in the beginning of the turn an archer character is invisible and he/she uses a full-round action to fire 2 arrows against a character who is actively in combat against another character but unaware of the invisible character. Also the invisibility in question is not permanent and the kind of invisibility that makes you visible after an attack such as Invisibility.
Is the attacked character denied his/her Dexterity bonus against both attacks or does the invisibility end immediately after the first attack and making the second attack from rapid shot or flurry of blows a normal one?