<commit_before>const DrawCard = require('../../drawcard.js');

class CorpseLake extends DrawCard {
    setupCardAbilities(ability) {
        this.reaction({
            when: {
                onCardsDiscarded: event =>
                    event.originalLocation === 'draw deck'
                    && event.card.getType() === 'character'
                    && event.card.controller !== this.controller
            },
            limit: ability.limit.perRound(3),
            handler: () => {<commit_msg>Fix event for Corpse Lake (#1557)<commit_after>const DrawCard = require('../../drawcard.js');

class CorpseLake extends DrawCard {
    setupCardAbilities(ability) {
        this.reaction({
            when: {
                onCardDiscarded: event =>
                    event.originalLocation === 'draw deck'
                    && event.card.getType() === 'character'
                    && event.card.controller !== this.controller
            },
            limit: ability.limit.perRound(3),
            handler: () => {
{'fraction_non_alphanumeric': 0.13313896987366375, 'fraction_numerical': 0.0058309037900874635, 'mean_word_length': 1.6963350785340314, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4611416', 'n_tokens_mistral': 266, 'n_tokens_neox': 251, 'n_words': 49}