text: const DeedCard = require('../../deedcard.js');
  /** @typedef {import('../../AbilityDsl')} AbilityDsl */
  
  class CheyenneClub extends DeedCard {
      /** @param {AbilityDsl} ability */
      setupCardAbilities(ability) {
          this.action({
              title: 'Noon: Cheyenne Club',
              playType: ['noon'],
              cost: ability.costs.bootSelf(),
              target: {
                  activePromptTitle: 'Choose your dude',
                  cardCondition: { 
                      location: 'play area', 
                      controller: 'current', 
                      condition: card => card.isNearby(this.gamelocation) 
                  },
                  cardType: ['dude']
              },
              message: context => 
                  this.game.addMessage('{0} uses {1} to give {2} +1 to all of their skills', 
                      context.player, this, context.target),
              handler: context => {
                  this.applyAbilityEffect(context.ability, ability => ({
                      match: context.target,
                      effect: context.target.getSkills().map(skillname => 
                          ability.effects.modifySkillRating(skillname, 1))
                  }));
              }
          });
      }
  }
  
  CheyenneClub.code = '23034';
  
  module.exports = CheyenneClub;
  