text: const DrawCard = require('../../drawcard.js');
  const AbilityDsl = require('../../abilitydsl');
  
  class BenevolentAmbassador extends DrawCard {
      setupCardAbilities() {
          this.reaction({
              title: 'Give both players honor',
              when: {
                  afterConflict: (event, context) => context.source.isParticipating() && event.conflict.winner === context.player
              },
              gameAction: AbilityDsl.actions.gainHonor(context => ({
                  target: [context.player, context.player.opponent]
              }))
          });
      }
  }
  
  BenevolentAmbassador.id = 'benevolent-ambassador';
  
  module.exports = BenevolentAmbassador;
  