A Wizard PC Teleports their party from a safe place directly to the location of a group of foes, who the party intends to attack.
If the foes did not know this was about to happen, they should be surprised.
How does initiative work in this situation - does the Teleport take place on the Wizard's first turn in combat, or prior to combat entirely? To illustrate why I am confused, there are a few possible adjudications below.
- The moment the Wizard decides they want to Teleport into combat, initiative is rolled. The Wizard casts Teleport on their turn, which may be after the turns of their companions, and teleports to the foes' location. Any foes who rolled higher initiative will no longer be surprised. The Wizard takes their next turn in the second round, in which no foes will be surprised.
- At the point the Wizard casts Teleport, they are not in combat. After the spell is cast, (since the party intends to immediately attack) the combat begins, and initative is rolled. The Wizard takes their next turn in the first round, while some foes may still be surprised (depending on their initiative).
- Case #1, but the Wizard can use Ready-ing the Teleport spell to effectively turn it into case #2.