Examples of DamagePlayersEffect


Examples of mage.abilities.effects.common.DamagePlayersEffect

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

        // When Fanatic of Mogis enters the battlefield, it deals damage to each opponent equal to your devotion to red.
        Effect effect = new DamagePlayersEffect(Outcome.Damage, new DevotionCount(ColoredManaSymbol.R), TargetController.OPPONENT);
        effect.setText("it deals damage to each opponent equal to your devotion to red. (Each {R} in the mana costs of permanents you control counts towards your devotion to red.)");
        this.addAbility(new EntersBattlefieldTriggeredAbility(effect, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.supertype.add("Legendary");

        // {tap}: Add {1} to your mana pool.
        this.addAbility(new ColorlessManaAbility());
        // {2}{R}, {tap}: Shivan Gorge deals 1 damage to each opponent.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamagePlayersEffect(1, TargetController.OPPONENT), new ManaCostsImpl("{2}{R}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.expansionSetCode = "NMS";

        this.color.setRed(true);

        // Flame Rift deals 4 damage to each player.
        this.getSpellAbility().addEffect(new DamagePlayersEffect(4, TargetController.ANY));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.addAbility(FlashAbility.getInstance());
        // Reach
        this.addAbility(ReachAbility.getInstance());
        // When Cloudthresher enters the battlefield, it deals 2 damage to each creature with flying and each player.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DamageAllEffect(2, filter));
        ability.addEffect(new DamagePlayersEffect(2));
        this.addAbility(ability);
        // Evoke {2}{G}{G}
        this.addAbility(new EvokeAbility(this, "{2}{G}{G}"));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

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

        // Whenever you cast an instant or sorcery spell, Guttersnipe deals 2 damage to each opponent.
        this.addAbility(new SpellCastControllerTriggeredAbility(new DamagePlayersEffect(2, TargetController.OPPONENT), filter, false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

    }

    @Override
    public boolean apply(Game game, Ability source) {
        new DrawCardSourceControllerEffect(1).apply(game, source);
        new DamagePlayersEffect(1, TargetController.OPPONENT).apply(game, source);
        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        Effect effect = new LoseCreatureTypeSourceEffect(new DevotionCount(ColoredManaSymbol.R), 5);
        effect.setText("As long as your devotion to red is less than five, Purphoros isn't a creature.<i>(Each {R} in the mana costs of permanents you control counts towards your devotion to red.)</i>");
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));

        // Whenever another creature enters the battlefield under your control, Purphoros deals 2 damage to each opponent.
        this.addAbility(new EntersBattlefieldControlledTriggeredAbility(new DamagePlayersEffect(2, TargetController.OPPONENT), filter));
        // {2}{R}: Creatures you control get +1/+0 until end of turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1,0, Duration.EndOfTurn), new ManaCostsImpl("{2}{R}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

}

class ZhurTaaDruidAbility extends TriggeredAbilityImpl {

    public ZhurTaaDruidAbility() {
        super(Zone.BATTLEFIELD, new DamagePlayersEffect(1, TargetController.OPPONENT));
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        super(ownerId, 75, "Slagstorm", Rarity.RARE, new CardType[]{CardType.SORCERY}, "{1}{R}{R}");
        this.expansionSetCode = "MBS";
        this.color.setRed(true);
        this.getSpellAbility().addEffect(new DamageAllEffect(3, new FilterCreaturePermanent()));
        Mode mode = new Mode();
        mode.getEffects().add(new DamagePlayersEffect(3));
        this.getSpellAbility().addMode(mode);
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

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

        // Breath of Malfegor deals 5 damage to each opponent.
        this.getSpellAbility().addEffect(new DamagePlayersEffect(5, TargetController.OPPONENT));
       
    }
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.