Amphibious. The marid can breathe air and water.
Elemental Demise. If the marid dies, its body disintegrates into a burst of water and foam, leaving behind only equipment the marid was wearing or carrying.
Innate Spellcasting. The marid’s innate spellcasting ability is Charisma (spell save DC 18, +9 to hit with spell attacks). It can innately cast the following spells, requiring no material components:
At will: create or destroy water, detect evil and good, detect magic, fog cloud, misty step, purify food and drink, tidal wave
3/day each:counterspell, gaseous form, invisibilitytongues, water breathing, water walk, telekinesis
1/day each: conjure elemental (water elemental only), control water, control weather, maelstrom, mass suggestion, plane shift, tsunami, wish
Legendary Resistance (1/day). If Ichthyglug fails a saving throw he may choose to succeed instead.
Multiattack. The marid makes two trident attacks.
Trident. Melee or Ranged Weapon Attack: +12 to hit, reach 5 ft. or range 20/60 ft., one target. Hit: 13 (2d6 + 6) piercing damage, or 15 (2d8 + 6) piercing damage if used with two hands to make a melee attack.
Water Jet. The marid magically shoots water in a 60-foot line that is 10 feet wide. Each creature in that line must make a DC 18 Dexterity saving throw. On a failure, a target takes 42 (12d6) bludgeoning damage and, if it is Huge or smaller, is pushed up to 30 feet away from Ichthyglug and knocked prone. On a success, a target takes half the bludgeoning damage, but is neither pushed nor knocked prone.
Watery Clone. Ichthyglug chooses 3 points he can see within 60 feet of him. He teleports to one of the points of his choice, and simultaneously creates a clone of himself at each of the other 2 points The clones are made entirely of water and may not take any actions or bonus actions, have an AC of 18, and 1 Hit Point. Ichthyglug is indistinguishable from his clones, and they speak in unison with him. When Ichthyglug casts a spell, he may instead have one of his clones cast the spell for him. He still expends a use of that spell. When this ability is used again, all previously created clones cease to exist.