Since Spiritual Weapon lets you make an attack roll, you’re making an attack and Sanctuary ends.
Can spiritual weapon attack when cast?
You create a floating, spectral weapon within range that lasts for the duration or until you cast this spell again. When you cast the spell, you can make a melee spell attack against a creature within 5 feet of the weapon.
Does sanctuary work on opportunity attacks?
Sanctuary forces the attacker to reconsider its target (which is why it’s a Wisdom saving throw, and why it lets the attacker choose the new target). It doesn’t magically empower the attacker to make an opportunity attack on a creature that never dropped its guard in the first place.
How does the ruling of the sanctuary spell work?
Until the spell ends, any creature who targets the warded creature with an attack or a harmful spell must first make a Wisdom saving throw. On a failed save, the creature must choose a new target or lose the attack or spell. This spell doesn’t protect the warded creature from area effects, such as the explosion of a fireball.
What does it mean to ward a creature with Sanctuary?
Sanctuary reads: You ward a creature within range against attack. Until the spell ends, any creature who targets the warded creature with an attack or a harmful spell must first make a Wisdom saving throw. On a failed save, the creature must choose a new target or lose the attack or spell.
What happens when you Ward a creature in DND?
You ward a creature within range against attack. Until the spell ends, any creature who targets the warded creature with an attack or a harmful spell must first make a Wisdom saving throw. On a failed save, the creature must choose a new target or lose the attack or spell.
What happens when a warded creature makes an attack?
If the warded creature makes an attack, casts a spell that affects an enemy, or deals damage to another creature, this spell ends.