this.color.setBlue(true);
// Whenever a card is put into your graveyard from anywhere, you may put a quest counter on Quest for Ancient Secrets.
this.addAbility(new QuestForAncientSecretsTriggeredAbility());
// Remove five quest counters from Quest for Ancient Secrets and sacrifice it: Target player shuffles his or her graveyard into his or her library.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
new QuestForAncientSecretsEffect(),
new RemoveCountersSourceCost(CounterType.QUEST.createInstance(5)));
ability.addCost(new SacrificeSourceCost());
ability.addTarget(new TargetPlayer());
this.addAbility(ability);
}