If this is on a staff, (i.e. 15% chance to apply muted) does it apply to any spells that are cast? Or only on a physical hit?

Thanks in advance!