The Underwater Combat rules on attacking state:
When making a melee weapon attack, a creature that doesn't have a swimming speed (either natural or granted by magic) has disadvantage on the attack roll unless the weapon is a dagger, javelin, shortsword, spear, or trident.
A ranged weapon attack automatically misses a target beyond the weapon's normal range. Even against a target within normal range, the attack roll has disadvantage unless the weapon is a crossbow, a net, or a weapon that is thrown like a javelin (including a spear, trident, or dart).
When it says underwater combat, I assume this is true while both that attacker and target are underwater, but the rule doesn't seem to explicitly define whether this rule is triggered when:
- Both are underwater
- Attacker is underwater, target is on land
- Target is underwater, attacker is on land
Scenario 1 obviously follows the underwater combat rules, but how about 2 and 3? Do both of them follow the underwater combat rules?