Examples of BoostControlledEffect


Examples of mage.abilities.effects.common.continious.BoostControlledEffect

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

        // Whenever Riot Ringleader attacks, Human creatures you control get +1/+0 until end of turn.
        this.addAbility(new AttacksTriggeredAbility(new BoostControlledEffect(1, 0, Duration.EndOfTurn, filter), false));
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

        this.color.setBlack(true);

        // Profit
        // Creatures you control get +1/+1 until end of turn.
        getLeftHalfCard().getColor().setBlue(true);
        getLeftHalfCard().getSpellAbility().addEffect(new BoostControlledEffect(1,1, Duration.EndOfTurn, new FilterCreaturePermanent()));

        // Loss
        // Creatures your opponents control get -1/-1 until end of turn.
        getRightHalfCard().getColor().setBlack(true);
        getRightHalfCard().getSpellAbility().addEffect(new BoostAllEffect(-1, -1, Duration.EndOfTurn, filter, false));
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

        this.toughness = new MageInt(2);

        this.addAbility(FlashAbility.getInstance());
        this.addAbility(new SplitSecondAbility());
        this.addAbility(FlyingAbility.getInstance());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

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

        // Red creatures you control get +1/+0.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 0, Duration.WhileOnBattlefield, filterRedCreature)));

        // White creatures you control get +0/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, filterWhiteCreature)));
       
        // {R}{W}, Exile Legion's Initiative: Exile all creatures you control. At the beginning of the next combat, return those cards to the battlefield under their owner's control and those creatures gain haste until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new LegionsInitiativeExileEffect(), new ManaCostsImpl("{R}{W}"));
        ability.addCost(new ExileSourceCost());
        this.addAbility(ability);
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

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

        // Whenever another creature enters the battlefield under your control, creatures you control get +1/+1 until end of turn.
        this.addAbility(new EntersAnotherCreatureYourControlTriggeredAbility(new BoostControlledEffect(1, 1, Duration.EndOfTurn)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

        this.color.setWhite(true);

        // Creatures you control get +0/+1 for each Gate you control and have vigilance.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD,
                new BoostControlledEffect(new StaticValue(0),new PermanentsOnBattlefieldCount(filter), Duration.WhileOnBattlefield));
        ability.addEffect(new GainAbilityControlledEffect(VigilanceAbility.getInstance(), Duration.WhileOnBattlefield, new FilterControlledCreaturePermanent("Creatures")));
        this.addAbility(ability);
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

        this.color.setGreen(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);
        // Eldrazi Spawn creatures you control get +2/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(2, 1, Duration.WhileOnBattlefield, filter, false)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

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

        // When Scourge Devil enters the battlefield, creatures you control get +1/+0 until end of turn.
        this.addAbility(new EntersBattlefieldTriggeredAbility(new BoostControlledEffect(1, 0, Duration.EndOfTurn)));
        // Unearth {2}{R}
        this.addAbility(new UnearthAbility(new ManaCostsImpl("{2}{R}")));
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

        this.color.setWhite(true);
        this.power = new MageInt(0);
        this.toughness = new MageInt(3);

        this.addAbility(DefenderAbility.getInstance());
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 2, Duration.WhileOnBattlefield, filter, true)));
    }
View Full Code Here

Examples of mage.abilities.effects.common.continious.BoostControlledEffect

        mode.getEffects().add(new BoostTargetEffect(-4, -4, Duration.EndOfTurn));
        mode.getTargets().add(new TargetCreaturePermanent());
        this.getSpellAbility().addMode(mode);
        // or creatures you control get +2/+0 until end of turn.
        mode = new Mode();
        mode.getEffects().add(new BoostControlledEffect(2, 0, Duration.EndOfTurn, new FilterCreaturePermanent(), false));
        this.getSpellAbility().addMode(mode);
    }
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.