<commit_before><commit_msg>Kitsuki Yaruma<commit_after>const DrawCard = require('../../drawcard.js');

class KitsukiYaruma extends DrawCard {
    setupCardAbilities(ability) {
        this.persistentEffect({
            match: this,
            effect: ability.effects.immuneTo(context => context.source.hasTrait('poison'))
        });
        this.reaction({
            title: 'Flip province facedown',
            when: {
                onCardEntersPlay: event => event.card === this
            },
            target: {
                cardType: 'province',
                cardCondition: card => !card.isBroken && !card.facedown
            },
            handler: context => {
                this.game.addMessage('{0} uses {1} to turn {2} facedown', this.controller, this, context.target);
                context.target.facedown = true;
            }
        });
    }
}

KitsukiYaruma.id = 'kitsuki-yaruma';

module.exports = KitsukiYaruma;
{'fraction_non_alphanumeric': 0.12631578947368421, 'fraction_numerical': 0.003157894736842105, 'mean_word_length': 1.899390243902439, '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': '6428852', 'n_tokens_mistral': 276, 'n_tokens_neox': 268, 'n_words': 50}