Fixes for Acid Rain & Horn of Deafening

This commit is contained in:
Marshall 2015-06-19 20:11:09 -04:00
parent 0081200e6b
commit 2be016a411
2 changed files with 3 additions and 1 deletions

View file

@ -43,7 +43,7 @@ public class AcidRain extends CardImpl {
private static final FilterPermanent filter = new FilterPermanent("Forests"); private static final FilterPermanent filter = new FilterPermanent("Forests");
static { static {
filter.add(new SubtypePredicate("Forests")); filter.add(new SubtypePredicate("Forest"));
} }
public AcidRain(UUID ownerId) { public AcidRain(UUID ownerId) {

View file

@ -40,6 +40,7 @@ import mage.constants.CardType;
import mage.constants.Duration; import mage.constants.Duration;
import mage.constants.Rarity; import mage.constants.Rarity;
import mage.constants.Zone; import mage.constants.Zone;
import mage.target.common.TargetCreaturePermanent;
/** /**
* *
@ -56,6 +57,7 @@ public class HornOfDeafening extends CardImpl {
effect.setText("Prevent all combat damage that would be dealt by target creature this turn."); effect.setText("Prevent all combat damage that would be dealt by target creature this turn.");
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{2}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{2}"));
ability.addCost(new TapSourceCost()); ability.addCost(new TapSourceCost());
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(ability); this.addAbility(ability);
} }