Historically, Pashtuns  the Attan just before or after a successful raid or tribal war, used to instill confidence before a battle and spiritually be ready, however today its usually done more specifically for celebrations such as weddings - some still do it before a tribal war.
Traditionally, Pashtuns would perform the Attan immediately following a successful raid or tribal battle to enhance confidence and spiritual readiness. Today, it is mostly used for celebratory events such as weddings; however, some continue to use it before a tribal conflict.