Examples of DealtDamageToCreatureBySourceDies


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

        // {T}: Frostwielder deals 1 damage to target creature or player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
        // If a creature dealt damage by Frostwielder this turn would die, exile it instead.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new DealtDamageToCreatureBySourceDies(this, Duration.WhileOnBattlefield)));

    }
View Full Code Here

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

        this.color.setRed(true);

        // Yamabushi's Storm deals 1 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, new FilterCreaturePermanent()));
        // 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

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

        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

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

        // Magma Spray deals 2 damage to target creature.
        this.getSpellAbility().addEffect(new DamageTargetEffect(2));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        // If that creature would die this turn, exile it instead.
        Effect effect = new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn);
        effect.setText("If that creature would die this turn, exile it instead");
        this.getSpellAbility().addEffect(effect);
    }
View Full Code Here

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

        // Anger of the Gods deals 3 damage to each creature.
        this.getSpellAbility().addEffect(new DamageAllEffect(3, new FilterCreaturePermanent()));
       
        //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

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

        this.color.setRed(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

        // If a creature dealt damage by Kumano's Pupils this turn would die, exile it instead.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new DealtDamageToCreatureBySourceDies(this, Duration.WhileOnBattlefield)));
    }
View Full Code Here

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

        // {{1}{R}: Kumano, Master Yamabushi deals 1 damage to target creature or player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new ManaCostsImpl("{1}{R}") );
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
        // If a creature dealt damage by Kumano this turn would die, exile it instead.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new DealtDamageToCreatureBySourceDies(this, Duration.WhileOnBattlefield)));
       
    }
View Full Code Here

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

            // Yamabushi's Flame 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

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

        this.expansionSetCode = "CHK";

        // {T}: Nine-Ringed Bo deals 1 damage to target Spirit creature. If that creature would die this turn, exile it instead.
        Ability ability = new ActivateAsSorceryActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
        ability.addTarget(new TargetCreaturePermanent(filter));
        Effect effect = new DealtDamageToCreatureBySourceDies(this, Duration.EndOfTurn);
        effect.setText("If that creature would die this turn, exile it instead");
        ability.addEffect(effect);
        this.addAbility(ability);
    }
View Full Code Here

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

        // Pillar of Flame deals 2 damage to target creature or player.
        this.getSpellAbility().addEffect(new DamageTargetEffect(2));
        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
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.