this.toughness = new MageInt(3);
// Reach
this.addAbility(ReachAbility.getInstance());
// At the beginning of your upkeep, put the top two cards of your library into your graveyard.
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new PutTopCardOfLibraryIntoGraveControllerEffect(2), TargetController.YOU, false));
// {1}{B}{G}, Exile Nyx Weaver: Return target card from your graveyard to your hand.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ReturnFromGraveyardToHandTargetEffect(), new ManaCostsImpl("{1}{B}{G}"));
ability.addCost(new ExileSourceCost());
ability.addTarget(new TargetCardInYourGraveyard());
this.addAbility(ability);