this.color.setBlue(true);
this.color.setBlack(true);
this.addAbility(new EntersBattlefieldAbility(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(3)), false));
// +1: Look at the top five cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in any order.
this.addAbility(new LoyaltyAbility(new LookLibraryAndPickControllerEffect(5, 1, filter, true), 1));
// -1: Target artifact becomes an artifact creature with base power and toughness 5/5.
Effect effect = new AddCardTypeTargetEffect(CardType.CREATURE, Duration.EndOfGame);
effect.setText("");
LoyaltyAbility ability1 = new LoyaltyAbility(effect, -1);
effect = new SetPowerToughnessTargetEffect(5,5, Duration.EndOfGame);
effect.setText("Target artifact becomes an artifact creature with base power and toughness 5/5");
ability1.addEffect(effect);
ability1.addTarget(new TargetArtifactPermanent());
this.addAbility(ability1);
// -4: Target player loses X life and you gain X life, where X is twice the number of artifacts you control.
LoyaltyAbility ability2 = new LoyaltyAbility(new TezzeretAgentOfBolasEffect2(), -4);
ability2.addTarget(new TargetPlayer());
this.addAbility(ability2);
}