this.color.setBlack(true);
this.power = new MageInt(5);
this.toughness = new MageInt(5);
// You may pay {W}{U}{B}{R}{G} rather than pay Bringer of the Black Dawn's mana cost.
this.addAbility(new AlternativeCostSourceAbility(new ManaCostsImpl("{W}{U}{B}{R}{G}")));
// Trample
this.addAbility(TrampleAbility.getInstance());
// At the beginning of your upkeep, you may pay 2 life. If you do, search your library for a card, then shuffle your library and put that card on top of it.
Ability ability = new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new DoIfCostPaid(new SearchLibraryPutOnLibraryEffect(new TargetCardInLibrary()), new PayLifeCost(2)), TargetController.YOU, false);
this.addAbility(ability);