mirror of
https://github.com/correl/mage.git
synced 2024-12-27 11:07:39 +00:00
Fixes for Acid Rain & Horn of Deafening
This commit is contained in:
parent
0081200e6b
commit
2be016a411
2 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue