source: Explosive Trap NAME_END -1 ATK_END -1 DEF_END 2 COST_END -1 DUR_END Spell TYPE_END Hunter PLAYER_CLS_END NIL RACE_END Common RARITY_END <b>Secret:</b> When your hero is attacked, deal $2 damage to all enemies.
target: class ExplosiveTrap(SecretCard):§    def __init__(self):§        super().__init__("Explosive Trap", 2, CHARACTER_CLASS.HUNTER, CARD_RARITY.COMMON)§§    def activate(self, player):§        player.opponent.bind("character_attack", self._reveal)§§    def deactivate(self, player):§        player.opponent.unbind("character_attack", self._reveal)§§    def _reveal(self, attacker, target):§        if isinstance(target, Hero):§            game = attacker.player.game§            enemies = copy.copy(game.current_player.minions)§            enemies.append(game.current_player.hero)§            for enemy in enemies:§                enemy.damage(2, None)§            game.check_delayed()§            super().reveal()§