Examples of DamageTargetEffect


Examples of mage.abilities.effects.common.DamageTargetEffect

        this.expansionSetCode = "AVR";

        this.color.setRed(true);

        // Choose one - Thunderbolt deals 3 damage to target player; or Thunderbolt deals 4 damage to target creature with flying.
        this.getSpellAbility().addEffect(new DamageTargetEffect(3));
        this.getSpellAbility().addTarget(new TargetPlayer());
        Mode mode = new Mode();
        mode.getEffects().add(new DamageTargetEffect(4));
        mode.getTargets().add(new TargetCreaturePermanent(filter));
        this.getSpellAbility().addMode(mode);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        this.expansionSetCode = "GTC";

        this.color.setRed(true);

        // Massive Raid deals damage to target creature or player equal to the number of creatures you control.
        this.getSpellAbility().addEffect(new DamageTargetEffect(new PermanentsOnBattlefieldCount(new FilterControlledCreaturePermanent())));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

public class BloodRites extends CardImpl {
    public BloodRites(UUID ownerId) {
        super(ownerId, 159, "Blood Rites", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, "{3}{R}{R}");
        this.expansionSetCode = "CHK";
        this.color.setRed(true);
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), new ManaCostsImpl("{1}{R}"));
        ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent()));
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

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

        // Arrows of Justice deals 4 damage to target attacking or blocking creature.
        getSpellAbility().addEffect(new DamageTargetEffect(4));
        getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        this.expansionSetCode = "AVR";

        this.color.setRed(true);

        // Thunderous Wrath deals 5 damage to target creature or player.
        this.getSpellAbility().addEffect(new DamageTargetEffect(5));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());

        // Miracle {R}
        this.addAbility(new MiracleAbility(this, new ManaCostsImpl("{R}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        this.expansionSetCode = "NPH";

        this.color.setRed(true);

        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        this.getSpellAbility().addEffect(new DamageTargetEffect(3));
        this.getSpellAbility().addEffect(new ProliferateEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        super(ownerId, 166, "Staggershock", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{R}");
        this.expansionSetCode = "ROE";

        this.color.setRed(true);
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        this.getSpellAbility().addEffect(new DamageTargetEffect(2));
        this.addAbility(new ReboundAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

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

        Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(1), false);
        Target target = new TargetCreatureOrPlayer();
        ability.addTarget(target);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        this.subtype.add("Shaman");

        this.color.setRed(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);
        SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(1), new TapSourceCost());
        ability.addCost(new ManaCostsImpl("{1}{R}"));
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

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

        // When Kessig Malcontents enters the battlefield, it deals damage to target player equal to the number of Humans you control.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(new PermanentsOnBattlefieldCount(filter)));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
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.