Q84

If a monster had resistance or immunity to damage from nonmagical weapons does that include damage from spells cast on the wielder that don't affect the weapon directly, like divine favor, or from abilitties like divine smite?