// {1}{R}{R}: Put a blaze counter on target land without a blaze counter on it.
// For as long as that land has a blaze counter on it, it has "At the beginning
// of your upkeep, this land deals 1 damage to you." (The land continues to burn
// after Obsidian Fireheart has left the battlefield.)
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new AddCountersTargetEffect(CounterType.BLAZE.createInstance()),new ManaCostsImpl("{1}{R}{R}"));
ability.addTarget(new TargetLandPermanent(filter));
Effect effect = new ObsidianFireheartGainAbilityEffect(
new BeginningOfUpkeepTriggeredAbility(
new DamageControllerEffect(1),
TargetController.YOU,
false),
Duration.Custom, rule);
ability.addEffect(effect);
this.addAbility(ability);
}