text: const Card = require('../../Card.js');
  
  class TechnoAlien extends Card {
      setupCardAbilities(ability) {
          this.reap({
              target: {
                  controller: 'self',
                  location: 'hand',
                  gameAction: ability.actions.discard()
              },
              then: {
                  gameAction: ability.actions.draw()
              }
          });
          this.fight({
              effect: 'to look at the top 3 cards of their deck',
              gameAction: ability.actions.sequential([
                  ability.actions.moveCard((context) => ({
                      destination: 'hand',
                      promptWithHandlerMenu: {
                          activePromptTitle: 'Choose a card to add to hand',
                          cards: context.player.deck.slice(0, 3)
                      }
                  })),
                  ability.actions.moveToBottom((context) => ({
                      promptWithHandlerMenu: {
                          activePromptTitle: 'Choose a card to move to bottom of deck',
                          cards: context.player.deck.slice(0, 2),
                          message: '{0} adds a card to their hand and moves a card to bottom of deck'
                      }
                  }))
              ])
          });
      }
  }
  
  TechnoAlien.id = 'techno-alien';
  
  module.exports = TechnoAlien;
  