Examples of DamageTargetEffect


Examples of mage.abilities.effects.common.DamageTargetEffect

    super(ownerId, 34, "Bituminous Blast", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{3}{B}{R}");
    this.expansionSetCode = "ARB";
    this.color.setBlack(true);
    this.color.setRed(true);
    this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    this.getSpellAbility().addEffect(new DamageTargetEffect(4));
    this.addAbility(new CascadeAbility());
  }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

  public BurstLightning(UUID ownerId) {
    super(ownerId, 119, "Burst Lightning", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{R}");
    this.expansionSetCode = "ZEN";
    this.color.setRed(true);
    this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
    this.getSpellAbility().addEffect(new DamageTargetEffect(2));
    KickerAbility ability = new KickerAbility(new DamageTargetEffect(4), true);
    ability.addTarget(this.getSpellAbility().getTargets().get(0));
    ability.addManaCost(new GenericManaCost(4));
    this.addAbility(ability);
  }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

  public FlameSlash(UUID ownerId) {
    super(ownerId, 145, "Flame Slash", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{R}");
    this.expansionSetCode = "ROE";
    this.color.setRed(true);
    this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    this.getSpellAbility().addEffect(new DamageTargetEffect(4));
  }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

    this.toughness = new MageInt(2);

    Costs<Cost> costs = new CostsImpl();
    costs.add(new GenericManaCost(1));
    costs.add(new SacrificeSourceCost());
    Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageTargetEffect(2), costs);
    ability.addTarget(new TargetCreatureOrPlayer());
    this.addAbility(ability);
  }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

  public LavaAxe(UUID ownerId) {
    super(ownerId, 215, "Lava Axe", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{4}{R}");
    this.expansionSetCode = "10E";
    this.color.setRed(true);
    this.getSpellAbility().addTarget(new TargetPlayer());
    this.getSpellAbility().addEffect(new DamageTargetEffect(5));
  }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        // If you've been dealt damage by two or more creatures this turn, you may pay {R} rather than pay Inferno Trap's mana cost.
        this.getSpellAbility().addAlternativeCost(new InfernoTrapAlternativeCost());
        this.addWatcher(new ControllerDamagedByCreatureWatcher());
       
        // Inferno Trap deals 4 damage to target creature.
        this.getSpellAbility().addEffect(new DamageTargetEffect(4));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        this.addAbility(new KickerAbility("{3}{R}"));

        // Damage can't be prevented this turn. If Unstable Footing was kicked, it deals 5 damage to target player.
        this.getSpellAbility().addEffect(new UnstableFootingEffect());
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(
                new DamageTargetEffect(5),
                KickedCondition.getInstance(),
                "If Unstable Footing was kicked, it deals 5 damage to target player"));


View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        // Kicker {4} (You may pay an additional {4} as you cast this spell.)
        this.addAbility(new KickerAbility("{4}"));

        // Burst Lightning deals 2 damage to target creature or player. If Burst Lightning was kicked, it deals 4 damage to that creature or player instead.
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new DamageTargetEffect(4),
                new DamageTargetEffect(2), KickedCondition.getInstance(), "{this} deals 2 damage to target creature or player. If {this} was kicked, it deals 4 damage to that creature or player instead"));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        this.subtype.add("Ally");

        this.color.setGreen(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(2);
        Ability ability = new AllyEntersBattlefieldTriggeredAbility(new DamageTargetEffect(new PermanentsOnBattlefieldCount(filter)), true);
        ability.addTarget(new TargetCreaturePermanent(filterTarget));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamageTargetEffect

        // If an opponent drew three or more cards this turn, you may pay {R} rather than pay Runeflare Trap's mana cost.
        this.getSpellAbility().addAlternativeCost(new RuneflareTrapAlternativeCost());
        this.addWatcher(new CardsDrawnOpponentWatcher());

        // Runeflare Trap deals damage to target player equal to the number of cards in that player's hand.
        this.getSpellAbility().addEffect(new DamageTargetEffect(new TargetPlayerCardsInHandCount()));
        this.getSpellAbility().addTarget(new TargetPlayer());

    }
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.