Draw two cards. Then you may discard two cards. When you do, Ill-Timed Explosion deals X damage to each creature, where X is the highest mana value among the discarded cards.
Only too late did the Agency custodians realize the device had not been inactive-it was just waiting for the right trigger.