this.addAbility(ability);
// Whenever an opponent discards a card, you may put a 1/1 green Elf Warrior creature token onto the battlefield.
Effect effect2 = new CreateTokenEffect(new ElfToken());
effect2.setText("you may put a 1/1 green Elf Warrior creature token onto the battlefield");
this.addAbility(new DiscardsACardOpponentTriggeredAbility(effect2, true));
}