<commit_before><commit_msg>Implement Meereenese Market (#2196)<commit_after>const DrawCard = require('../../drawcard.js');

class MeereeneseMarket extends DrawCard {
    setupCardAbilities(ability) {
        this.plotModifiers({
            gold: 1
        });

        this.action({
            title: 'Place card on bottom of deck',
            cost: ability.costs.kneelSelf(),
            target: {
                activePromptTitle: 'Select a card',
                cardCondition: card => card.location === 'discard pile'
            },
            handler: context => {
                let card = context.target;
                card.owner.moveCardToBottomOfDeck(card);
                this.game.addMessage('{0} kneels {1} to place {2} on the bottom of {3}\'s deck',
                    this.controller, this, context.target, context.target.owner);
            }
        });
    }
}

MeereeneseMarket.code = '11074';

module.exports = MeereeneseMarket;
{'fraction_non_alphanumeric': 0.11912225705329153, 'fraction_numerical': 0.014629049111807733, 'mean_word_length': 1.911854103343465, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1452038', 'n_tokens_mistral': 280, 'n_tokens_neox': 262, 'n_words': 60}