this.toughness = new MageInt(4);
// As long as you control eight or more lands, Woodborn Behemoth gets +4/+4 and has trample.
PermanentsOnTheBattlefieldCondition eightOrMoreLandCondition = new PermanentsOnTheBattlefieldCondition(new FilterLandPermanent(), PermanentsOnTheBattlefieldCondition.CountType.MORE_THAN,7);
ConditionalContinousEffect effect1 = new ConditionalContinousEffect(
new BoostSourceEffect(4,4, Duration.WhileOnBattlefield), eightOrMoreLandCondition,
"As long as you control eight or more lands, {this} gets +4/+4");
ConditionalContinousEffect effect2 = new ConditionalContinousEffect(
new GainAbilitySourceEffect(TrampleAbility.getInstance(), Duration.WhileOnBattlefield),
eightOrMoreLandCondition, " and has trample");
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect1);