public CabalPit(UUID ownerId) {
super(ownerId, 315, "Cabal Pit", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
this.expansionSetCode = "ODY";
// {tap}: Add {B} to your mana pool. Cabal Pit deals 1 damage to you.
Ability manaAbility = new BlackManaAbility();
manaAbility.addEffect(new DamageControllerEffect(1));
this.addAbility(manaAbility);
// Threshold - {B}, {T}, Sacrifice Cabal Pit: Target creature gets -2/-2 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(-2,-2, Duration.EndOfTurn),