Package mage.abilities.effects.common.replacement

Examples of mage.abilities.effects.common.replacement.DealtDamageToCreatureBySourceDies


        this.expansionSetCode = "MBS";
        this.color.setRed(true);

        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        this.getSpellAbility().addEffect(new DamageTargetEffect(new ManacostVariableValue()));
        this.getSpellAbility().addEffect(new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn));
        this.getSpellAbility().addEffect(ShuffleSpellEffect.getInstance());
        this.addWatcher(new DamagedByWatcher());
    }
View Full Code Here


            // Annihilating Fire deals 3 damage to target creature or player.
            this.getSpellAbility().addEffect(new DamageTargetEffect(3));
            this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());

            // If a creature dealt damage this way would die this turn, exile it instead.
            this.getSpellAbility().addEffect(new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn));
        }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.replacement.DealtDamageToCreatureBySourceDies

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.