Examples of PreventAllDamageByAllEffect


Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

        this.expansionSetCode = "INV";

        this.color.setWhite(true);

        // Prevent all combat damage that would be dealt this turn.
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

        this.expansionSetCode = "ODY";

        this.color.setGreen(true);

        // Prevent all combat damage that would be dealt this turn.
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
        // Flashback {2}{G}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{2}{G}"), TimingRule.INSTANT));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

        this.expansionSetCode = "PLC";

        this.color.setWhite(true);

        // Choose one - Prevent all combat damage that would be dealt this turn; or regenerate target creature; or counter target spell that targets you.
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn));

        Mode mode = new Mode();
        mode.getEffects().add(new RegenerateTargetEffect());
        mode.getTargets().add(new TargetCreaturePermanent());
        this.getSpellAbility().addMode(mode);
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

        this.expansionSetCode = "INV";

        this.color.setGreen(true);

        // Prevent all combat damage that would be dealt this turn.
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
        // Each attacking creature doesn't untap during its controller's next untap step.
        this.getSpellAbility().addEffect(new TangleEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

    public BluntTheAssault (UUID ownerId) {
        super(ownerId, 113, "Blunt the Assault", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{3}{G}");
        this.expansionSetCode = "SOM";
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new GainLifeEffect(new PermanentsOnBattlefieldCount(filter)));
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

        this.color.setBlack(true);
        this.color.setWhite(true);

        // Prevent all combat damage that would be dealt this turn if {W} was spent to cast Batwing Brume. Each player loses 1 life for each attacking creature he or she controls if {B} was spent to cast Batwing Brume.
        Effect effect = new ConditionalReplacementEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true),
                new LockedInCondition(new ManaWasSpentCondition(ColoredManaSymbol.W)));
        effect.setText("Prevent all combat damage that would be dealt this turn if {W} was spent to cast {this}");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
                new BatwingBrumeEffect(),
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

        super(ownerId, 267, "Lull", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{G}");
        this.expansionSetCode = "USG";
        this.color.setGreen(true);

        //Prevent all combat damage that would be dealt this turn.
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));

        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

        this.expansionSetCode = "CMD";

        this.color.setWhite(true);

        // Prevent all combat damage that would be dealt this turn. Clash with an opponent. If you win, creatures that player controls don't untap during the player's next untap step.
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
        this.getSpellAbility().addEffect(new DoIfClashWonEffect(new PollenLullabyEffect(), true, null));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

    public Fog(UUID ownerId) {
        super(ownerId, 182, "Fog", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{G}");
        this.expansionSetCode = "M10";
        this.color.setGreen(true);
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
    }
View Full Code Here

Examples of mage.abilities.effects.common.PreventAllDamageByAllEffect

        this.color.setBlue(true);
        this.color.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        Effect effect = new PreventAllDamageByAllEffect(Duration.EndOfTurn, true);
        effect.setText("Prevent all combat damage that would be dealt this turn");
        // {G}{W}{U}, {tap}: Prevent all combat damage that would be dealt this turn. Activate this ability only before the combat damage step.
        Ability ability = new ActivateIfConditionActivatedAbility(
                Zone.BATTLEFIELD,
                effect,
                new ManaCostsImpl("{G}{W}{U}"),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.