[RPG] What happens when your group is victim of a surprise attack but you can’t be surprised

dnd-5einitiativesurprise

My character was unaware of a group of bandits, but my character cannot be surprised (I have a Weapon of warning) but the rest of my group is out of the range of my weapon of warning, do I get to take my turn even when the rest of my party was surprised? Do I take my turn before the attack of the enemy if my initiative is
high enough? Please help.

Best Answer

You take your turn and can act as normal

The Weapon of Warning (DMG, p. 213) states:

[...] you and any of your companions within 30 feet of you can't be surprised, except when incapacitated by something other than nonmagical sleep. [...]

You have stated that your companions were all outside of the range for this effect, however that does not prevent it from working on you. From the rules for Surprise we have:

If you're surprised, you can't move or take an action on your first turn of the combat, and you can't take reaction until that turn ends. A member of the group can be surprised even if the other members aren't.

It is important to note that surprised creatures still roll initiative and have turns in the initiative order, they simply cannot act on their first turn. Since you can't be surprised you are free to act as normal on your first turn. If you manage to roll higher initiative than your enemy you can indeed attack before them, this is exactly what this item was designed to do.