Examples of LoseLifeOpponentsEffect


Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

        this.color.setBlack(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(4);

        // Constellation - Whenever Grim Guardian or another enchantment enters the battlefield under your control, each opponent loses 1 life.
        this.addAbility(new ConstellationAbility(new LoseLifeOpponentsEffect(1), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

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

        // Whenever a creature you control with toughness 4 or greater dies, each opponent loses 2 life and you gain 2 life.
        Ability ability = new DiesCreatureTriggeredAbility(new LoseLifeOpponentsEffect(2), false, toughnessFilter);
        Effect effect = new GainLifeEffect(2);
        effect.setText("and you gain 2 life");
        ability.addEffect(effect);
        this.addAbility(ability);
       
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Kinship - At the beginning of your upkeep, you may look at the top card of your library. If it shares a creature type with Nightshade Schemers, you may reveal it.
        // If you do, each opponent loses 2 life.
        this.addAbility(new KinshipAbility(new LoseLifeOpponentsEffect(2)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

        // Trample
        this.addAbility(TrampleAbility.getInstance());
       
        // When Siege Rhino enters the battlefield, each opponent loses 3 life and you gain 3 life.
        Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeOpponentsEffect(3));
        Effect effect = new GainLifeEffect(3);
        effect.setText("and you gain 3 life");
        ability.addEffect(effect);       
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

        this.toughness = new MageInt(5);

        // Defender
        this.addAbility(DefenderAbility.getInstance());
        // 1B, T: Each opponent loses 1 life.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeOpponentsEffect(1), new ManaCostsImpl("{1}{B}"));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);

    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

        this.toughness = new MageInt(2);

        // Constellation - Whenever Underworld Coinsmith or an enchantment enters the battlefield under your control, you gain 1 life.
        this.addAbility(new ConstellationAbility(new GainLifeEffect(1)));
        // {W}{B}, Pay 1 life: Each opponent loses 1 life.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeOpponentsEffect(1), new ManaCostsImpl("{W}{B}"));
        ability.addCost(new PayLifeCost(1));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

        this.addAbility(ability);

        // {B}, {T}: Exile target instant or sorcery card from a graveyard. Each opponent loses 2 life.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), new ManaCostsImpl("{B}"));
        ability.addCost(new TapSourceCost());
        ability.addEffect(new LoseLifeOpponentsEffect(2));
        ability.addTarget(new TargetCardInGraveyard(filter));
        this.addAbility(ability);

        // {G}, {T}: Exile target creature card from a graveyard. You gain 2 life.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new ExileTargetEffect(), new ManaCostsImpl("{G}"));
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

                    Duration.WhileOnBattlefield, new FilterCreaturePermanent(), true )));
        // Whenever Vela the Night-Clad or another creature you control leaves the battlefield, each opponent loses 1 life.
        Ability ability = new ZoneChangeAllTriggeredAbility(
                Zone.BATTLEFIELD,
                Zone.BATTLEFIELD, null,
                new LoseLifeOpponentsEffect(1),
                filter, rule, false);
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

        DynamicValue amount = new CardsInControllerGraveyardCount(new FilterCreatureCard());
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(amount, amount, Duration.WhileOnBattlefield));
        this.addAbility(ability);
       
        // {1}{B}{G}, Sacrifice another creature: Each opponent loses life equal to the sacrificed creature's power.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LoseLifeOpponentsEffect(new SacrificeCostCreaturesPower()),new ManaCostsImpl("{1}{B}{G}"));
        ability.addCost(new SacrificeTargetCost(new TargetControlledCreaturePermanent(1, 1, filter, false)));
        this.addAbility(ability);
       
        // Sacrifice a Swamp and a Forest: Return Jarad from your graveyard to your hand.
        ability = new SimpleActivatedAbility(Zone.GRAVEYARD, new ReturnSourceFromGraveyardToHandEffect(),
View Full Code Here

Examples of mage.abilities.effects.common.LoseLifeOpponentsEffect

        // As an additional cost to cast Bond of Agony, pay X life.
        // magenoxx: here we don't use PayVariableLifeCost as {X} shouldn't actually be announced
        this.getSpellAbility().addCost(new PayLifeCost(xValue, "X life"));

        // Each other player loses X life.
        this.getSpellAbility().addEffect(new LoseLifeOpponentsEffect(xValue));
    }
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.