Examples of DamagePlayersEffect


Examples of mage.abilities.effects.common.DamagePlayersEffect

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

        // {R}, {tap}: Anaba Shaman deals 1 damage to target creature or player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamagePlayersEffect(1), new ManaCostsImpl("{R}"));
        ability.addCost(new TapSourceCost());
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.toughness = new MageInt(3);

        // Tribute 2
        this.addAbility(new TributeAbility(2));
        // When Pharagax Giant enters the battlefield, if tribute wasn't paid, Pharagax Giant deals 5 damage to each opponent.
        TriggeredAbility ability = new EntersBattlefieldTriggeredAbility(new DamagePlayersEffect(5, TargetController.OPPONENT), false);
        this.addAbility(new ConditionalTriggeredAbility(ability, TributeNotPaidCondition.getInstance(),
                "When {this} enters the battlefield, if its tribute wasn't paid, {this} deals 5 damage to each opponent."));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

       
        // Morph {4}{R}{R}
        this.addAbility(new MorphAbility(this, new ManaCostsImpl<>("{4}{R}{R}")));
       
        // When Ashcloud Phoenix is turned face up, it deals 2 damage to each player.
        Effect effect = new DamagePlayersEffect(2, TargetController.ANY);
        effect.setText("it deals 2 damage to each player");
        this.addAbility(new TurnedFaceUpSourceTriggeredAbility(effect));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

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

        // Crackling Doom deals 2 damage to each opponent. Each opponent sacrifices a creature with the greatest power among creatures he or she controls.
        this.getSpellAbility().addEffect(new DamagePlayersEffect(2, TargetController.OPPONENT));
        this.getSpellAbility().addEffect(new CracklingDoomEffect());

    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        // {5}{R}{R}: Monstrosity 1.
        this.addAbility(new MonstrosityAbility("{5}{R}{R}", 1));

        // When Wildfire Cerberus becomes monstrous, it deals 2 damage to each opponent and each creature your opponents control.
        Effect effect = new DamagePlayersEffect(2, TargetController.OPPONENT);
        effect.setText("it deals 2 damage to each opponent");
        Ability ability = new BecomesMonstrousSourceTriggeredAbility(effect);
        effect = new DamageAllEffect(2, filter);
        effect.setText("and each creature your opponents control");
        ability.addEffect(effect);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.expansionSetCode = "MMQ";

        this.color.setRed(true);

        // Sizzle deals 3 damage to each opponent.
        this.getSpellAbility().addEffect(new DamagePlayersEffect(3, TargetController.OPPONENT));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.power = new MageInt(5);
        this.toughness = new MageInt(7);

        // {4}{G}: Rockcaster Platoon deals 2 damage to each creature with flying and each player.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamageAllEffect(2, filter), new ManaCostsImpl("{4}{G}"));
        ability.addEffect(new DamagePlayersEffect(2));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.color.setGreen(true);

        // Claws of Wirewood deals 3 damage to each creature with flying and each player.
        this.getSpellAbility().addEffect(new DamageAllEffect(3, filter));
        Effect effect = new DamagePlayersEffect(3);
        effect.setText("and each player");
        this.getSpellAbility().addEffect(effect);
        // Cycling {2}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.expansionSetCode = "GTC";

        this.color.setRed(true);

        // Tap an untapped Gate you control: Crackling Perimeter deals 1 damage to each opponent.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamagePlayersEffect(1, TargetController.OPPONENT), new TapTargetCost(new TargetControlledPermanent(filter))));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

                Permanent creature = game.getPermanent(getTargetPointer().getFirst(game, source));
                if (creature != null) {
                    creature.damage(3, source.getSourceId(), game, false, true);
                }
                if (flipsWon > 1) {
                    new DamagePlayersEffect(6, TargetController.OPPONENT).apply(game, source);
                }
                if (flipsWon > 2) {
                    controller.drawCards(9, game);
                    new UntapAllLandsControllerEffect().apply(game, source);
                }
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.