Monsters or players can have the ability to become invisible, as per the Invisibility spell. In the rules, it's said that an invisible/unseen creature gets advantage on its attacks, and enemies attacking it do so at disadvantage.
Page 194 of the PHB says, under "Unseen Attackers and Targets":
When you attack a target that you can’t see, you have disadvantage on the attack roll. This is true whether you’re guessing the target’s location or you’re targeting a creature you can hear but not see. If the target isn’t in the location you targeted, you automatically miss, but the DM typically just says that the attack missed, not whether you guessed the target’s location correctly.
When a creature can’t see you, you have advantage on attack rolls against it.
But the Invisibility spell says that you lose invisibility when making an attack or casting a spell:
A creature you touch becomes invisible until the spell ends. […] The spell ends for a target that attacks or casts a spell.
1st question:
- Does an invisible creature lose the advantage/disadvantage when making an attack?
- Or always have advantage for his attack, but lose disadvantage versus an (opportunity) attack of the enemy?
- If he always has advantage, what happens if he has multiple attacks?
2nd question:
-
In case of a pixie or a faerie dragon, who have Superior Invisibility, does the invisibility still remain?
Superior Invisibility. As a bonus action, the dragon can magically turn invisible until its concentration ends (as if concentrating on a spell).
(Note: You can attack without losing concentration.)
Best Answer
Clarifications
The advantage/disadvantage happens when a creature can't be seen - being invisible is one way of doing this but it is not the only way - being hidden or in the dark or having a blinded opponent are other ways. See What advantages does hiding have? Because of this I will use "unseen" when I mean that the creature cannot be seen for any reason and "invisible" when I am talking about having that particular state.
You have used the word "(opportunity)" in a way which makes me think that you are coming from an older version of D&D where casting a spell could trigger an opportunity attack; this does not happen in 5e! The only trigger for an opportunity attack using a reaction is if a seen creature voluntarily moves out of another creatures reach without taking the Disengage action (PHB p. 195).
Answers
Two things to keep in mind:
If you keep that in mind then all becomes clear the creature :
Question 1
There are all sorts of sequences that can affect this, for example:
Question 2
In D&D 5e things do exactly what they say the do; no more, no less. Just because an ability and a spell cause the same effect does not mean they have anything to do with one another beyond that.
This does not refer in any way to the spell Invisibility! The limitation on attacking and spell casting applies to the spell; it does not apply to this ability. This ability ends when the faerie dragon stops concentrating - they can otherwise attack and cast spells and remain invisible.