Stemming from another question: Does an invisible enemy within 5 feet of you still impose disadvantage on ranged attacks? there is a niche scenario described where this could be applicable (potentially with others niche cases elsewhere)
Scenario: I'm a Ranger, wanting to shoot at a target 30 feet away that is in plain view without cover. Normal attack roll.
Little did I know as the Ranger, there was an invisible observer during this whole battle, a wizard keen to learn how we fight as a team, who's sole task throughout this fight was to remain invisible, hidden, unmoving, to silently observe the combat for use of this knowledge later.
Without knowing it, my Ranger just so happened to back up next to this invisible wizard (within 5 feet) before I made my attack against a target 30 feet out. Is this creature next to me considered Hostile, which the DM would then tell me to roll with disadvantage?
- Making a ranged attack against a far off target
- I'm unknowingly within 5 feet of a creature that makes no attempt to interact with nor interrupt me (specifically trying to avoid doing so) during my attack.
Is this creature hostile to me? (And by extension, Should I be at a disadvantage for this attack?)
Should it be a consideration that suddenly rolling this attack at disadvantage will reveal the fact that an invisible creature is near me when I otherwise had no idea?
The ruling on disadvantage for ranged attacks are as follows: The pertinent Ranged attacking in close combat rules (PHB 195):
Aiming a ranged attack is more difficult when a foe is next to you. When you make a ranged attack with a weapon, a spell, or some other means, you have disadvantage on the attack roll if you are within 5 feet of a hostile creature who can see you and who isn’t incapacitated.
This rule would seem to suggest that if the creature is not actively hostile nor making any attempt to distract me, the fact that they are within 5 feet doesn't really matter.
Is this the only example of an enemy being non-hostile? Or is this creature considered hostile just by sitting there, while specifically doing nothing else.
Would a Green Hag, who is raising a human boy, caring for them and keeping them safe as they grow up be considered a hostile to the boy (who considers it his mother) if it was later found out that they only protected the boy so they can charm and control him later?