public CentaurGarden(UUID ownerId) {
super(ownerId, 316, "Centaur Garden", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
this.expansionSetCode = "ODY";
// {tap}: Add {G} to your mana pool. Centaur Garden deals 1 damage to you.
Ability manaAbility = new GreenManaAbility();
manaAbility.addEffect(new DamageControllerEffect(1));
this.addAbility(manaAbility);
// Threshold - {G}, {tap}, Sacrifice Centaur Garden: Target creature gets +3/+3 until end of turn. Activate this ability only if seven or more cards are in your graveyard.
Ability thresholdAbility = new ConditionalGainActivatedAbility(Zone.BATTLEFIELD,
new BoostTargetEffect(+3,+3, Duration.EndOfTurn),