The triggered ability gained by the creature will trigger when that creature deals any damage, not just combat damage.

Artwork
Loading artwork…
Shackles of Treachery
Kaldheim · #150 · EN
Nonfoil—Foil—
Card rules
Gain control of target creature until end of turn. Untap that creature. Until end of turn, it gains haste and "Whenever this creature deals damage, destroy target Equipment attached to it."
In that instant, Toralf felt only the power of the storm and the need to destroy.
Common · Illustrated by Dmitry Burmak
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Gaining control of a creature doesn’t cause you to gain control of any Auras or Equipment attached to it.
Shackles of Treachery can target any creature, including one that’s already untapped or one that doesn’t have any Equipment attached to it.
If that ability triggers, you must choose a legal target if one is available. It doesn’t matter who controls the Equipment attached to the creature. If that Equipment is no longer attached to the creature as the ability tries to resolve, the ability won’t resolve and the Equipment won’t be destroyed.