in our last game one player jump into a body of water tied by the waist with a rope grappled by his allies. in the water was a foe they didnt saw and surprised the player jumping in the water.
next round his allies pull the rope and move him up
Do the foe gets an attack of opportunity?
If yes, is him negated his dex or mobility bonus to ac?