Examples of DamagePlayersEffect


Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.toughness = new MageInt(4);

        // Defender
        this.addAbility(DefenderAbility.getInstance());
        // {T}: Lobber Crew deals 1 damage to each opponent.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DamagePlayersEffect(1, TargetController.OPPONENT), new TapSourceCost()));
        // Whenever you cast a multicolored spell, untap Lobber Crew.
        this.addAbility(new LobberCrewTriggeredAbility());
    }
View Full Code Here

Examples of mage.abilities.effects.common.DamagePlayersEffect

        this.color.setGreen(true);

        // Howling Gale deals 1 damage to each creature with flying and each player.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, filter));
        Effect effect = new DamagePlayersEffect(1);
        effect.setText("and each player");
        this.getSpellAbility().addEffect(effect);
        // Flashback {1}{G}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{G}"), TimingRule.INSTANT));
    }
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.