This commit is contained in:
drmDev 2016-07-09 16:29:43 -04:00
parent 7c0b11c641
commit 6fe2c226b8
5 changed files with 15 additions and 17 deletions

View file

@ -28,11 +28,11 @@
package mage.sets.gatecrash;
import java.util.UUID;
import mage.abilities.effects.common.PreventAllDamageByAllPermanentsEffect;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.Rarity;
import mage.abilities.effects.common.PreventAllDamageByAllEffect;
import mage.cards.CardImpl;
import mage.counters.CounterType;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.Predicates;
@ -56,7 +56,7 @@ public class Hindervines extends CardImpl {
// Prevent all combat damage that would be dealt this turn by creatures with no +1/+1 counters on them.
this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(filter, Duration.EndOfTurn, true));
this.getSpellAbility().addEffect(new PreventAllDamageByAllPermanentsEffect(filter, Duration.EndOfTurn, true));
}
public Hindervines(final Hindervines card) {

View file

@ -28,14 +28,13 @@
package mage.sets.onslaught;
import java.util.UUID;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.MageInt;
import mage.abilities.common.BecomesBlockedTriggeredAbility;
import mage.abilities.effects.common.PreventAllDamageByAllEffect;
import mage.abilities.effects.common.PreventAllDamageByAllPermanentsEffect;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.Rarity;
/**
*
@ -52,7 +51,7 @@ public class LeeryFogbeast extends CardImpl {
this.toughness = new MageInt(2);
// Whenever Leery Fogbeast becomes blocked, prevent all combat damage that would be dealt this turn.
this.addAbility(new BecomesBlockedTriggeredAbility(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true), false));
this.addAbility(new BecomesBlockedTriggeredAbility(new PreventAllDamageByAllPermanentsEffect(Duration.EndOfTurn, true), false));
}
public LeeryFogbeast(final LeeryFogbeast card) {

View file

@ -32,7 +32,7 @@ import mage.MageInt;
import mage.ObjectColor;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.PreventAllDamageByAllEffect;
import mage.abilities.effects.common.PreventAllDamageByAllPermanentsEffect;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Duration;
@ -61,7 +61,7 @@ public class RadiantKavu extends CardImpl {
this.toughness = new MageInt(3);
// {R}{G}{W}: Prevent all combat damage blue creatures and black creatures would deal this turn.
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, (new PreventAllDamageByAllEffect(filter,
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, (new PreventAllDamageByAllPermanentsEffect(filter,
Duration.EndOfTurn, true)), new ManaCostsImpl("{R}{G}{W}")));
}

View file

@ -29,7 +29,7 @@ package mage.sets.stronghold;
import java.util.UUID;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.effects.common.PreventAllDamageByAllEffect;
import mage.abilities.effects.common.PreventAllDamageByAllPermanentsEffect;
import mage.abilities.keyword.BuybackAbility;
import mage.cards.CardImpl;
import mage.constants.CardType;
@ -52,7 +52,7 @@ public class ConstantMists extends CardImpl {
this.addAbility(new BuybackAbility(new SacrificeTargetCost(new TargetControlledPermanent(new FilterControlledLandPermanent("a land")))));
// Prevent all combat damage that would be dealt this turn.
this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
this.getSpellAbility().addEffect(new PreventAllDamageByAllPermanentsEffect(Duration.EndOfTurn, true));
}
public ConstantMists(final ConstantMists card) {

View file

@ -28,12 +28,11 @@
package mage.sets.timeshifted;
import java.util.UUID;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.abilities.effects.common.PreventAllDamageByAllEffect;
import mage.abilities.effects.common.PreventAllDamageByAllPermanentsEffect;
import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.Rarity;
/**
*
@ -47,7 +46,7 @@ public class Darkness extends CardImpl {
// Prevent all combat damage that would be dealt this turn.
this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
this.getSpellAbility().addEffect(new PreventAllDamageByAllPermanentsEffect(Duration.EndOfTurn, true));
}
public Darkness(final Darkness card) {