Package mage.abilities.effects.common.ruleModifying

Examples of mage.abilities.effects.common.ruleModifying.CantRegenerateTargetEffect


        this.color.setRed(true);

        // Disintegrate deals X damage to target creature or player. That creature can't be regenerated this turn. If the creature would die this turn, exile it instead.
        this.getSpellAbility().addEffect(new DamageTargetEffect(new ManacostVariableValue()));
        this.getSpellAbility().addEffect(new CantRegenerateTargetEffect(Duration.EndOfTurn, "That creature"));
        Effect effect = new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn);
        effect.setText("If the creature would die this turn, exile it instead");
        this.getSpellAbility().addEffect(effect);
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
    }
View Full Code Here


        this.color.setRed(true);

        // Rage of Purphoros deals 4 damage to target creature. It can't be regenerated this turn. Scry 1.
        this.getSpellAbility().addEffect(new DamageTargetEffect(4));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new CantRegenerateTargetEffect(Duration.EndOfTurn, "It"));
        this.getSpellAbility().addEffect(new ScryEffect(1));

        this.addWatcher(new DamagedByWatcher());
    }
View Full Code Here

        this.color.setRed(true);

        // Engulfing Flames deals 1 damage to target creature. It can't be regenerated this turn.
        this.getSpellAbility().addEffect(new DamageTargetEffect(1));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        this.getSpellAbility().addEffect(new CantRegenerateTargetEffect(Duration.EndOfTurn, "It"));
        // Flashback {3}{R}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{3}{R}"), TimingRule.INSTANT));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.ruleModifying.CantRegenerateTargetEffect

Copyright © 2018 www.massapicom. 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.