Goat format ruling
Stamping Destruction

Card effect (current official text)If you control a Dragon monster: Target 1 Spell/Trap on the field; destroy that target, and if you do, inflict 500 damage to its controller.
Rulings
- When you activate this card, if the opponent activates an effect in a chain that destroys the targeted Spell/Trap Card, the opponent will not take the 500 points of damage. If your opponent merely chains the Spell/Trap card that you targeted, the Spell/Trap Card will be destroyed when Stamping Destruction resolves and your opponent will take 500 points of damage. (Remember that Spell/Trap Cards remain on the field until the entire chain resolves, unless destroyed by a card effect during the chain.)
- If your opponent destroys all the Dragon monsters on your side of the field as a chain to the activation of this card, this card will still resolve since the conditions were met at the time of activation.
Rulings data courtesy of Format Library — formatlibrary.com. Spotted an inaccuracy? Flag it in the Goat forum — sourced change requests get reviewed.