Package mage.abilities.effects.common.continious

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


        this.power = new MageInt(3);
        this.toughness = new MageInt(4);

        this.addAbility(VigilanceAbility.getInstance());
        // Other creatures you control get +0/+2 and have vigilance.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 2, Duration.WhileOnBattlefield, new FilterCreaturePermanent(), true));
        ability.addEffect(new GainAbilityControlledEffect(VigilanceAbility.getInstance(), Duration.WhileOnBattlefield, new FilterCreaturePermanent(), true));
        this.addAbility(ability);
    }
View Full Code Here


        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

        // Sliver creatures you control get +3/+3.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                new BoostControlledEffect(3,3, Duration.WhileInGraveyard, new FilterCreaturePermanent("Sliver","Sliver creatures"))));
    }
View Full Code Here

        // Domain - Until end of turn, creatures you control gain trample and get +1/+1 for each basic land type among lands you control.
        Effect effect = new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn);
        effect.setText("<i>Domain</i> - Until end of turn, creatures you control gain Trample");
        this.getSpellAbility().addEffect(effect);
        DynamicValue domain = new DomainValue();
        effect = new BoostControlledEffect(domain, domain, Duration.EndOfTurn, new FilterCreaturePermanent(), false);
        effect.setText(" and get +1/+1 for each basic land type among lands you control");
        this.getSpellAbility().addEffect(effect);

    }
View Full Code Here

        // Target creature you control gets +2/+0 until end of turn.
        this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent());
        this.getSpellAbility().addEffect(new BoostTargetEffect(2,0, Duration.EndOfTurn));

        // Overload {2}{R} (You may cast this spell for its overload cost. If you do, change its text by replacing all instances of "target" with "each.")
        this.addAbility(new OverloadAbility(this, new BoostControlledEffect(2,0, Duration.EndOfTurn), new ManaCostsImpl("{2}{R}")));
    }
View Full Code Here

        // Buyback {2}
        this.addAbility(new BuybackAbility("{2}"));

        // Creatures you control get +1/+0 until end of turn.
        this.getSpellAbility().addEffect(new BoostControlledEffect(1,0, Duration.EndOfTurn));
       
        // Storm
        this.addAbility(new StormAbility());
       
    }
View Full Code Here

        this.expansionSetCode = "PLC";

        this.color.setGreen(true);

        // Creatures you control get +1/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, new FilterCreaturePermanent(), false)));
    }
View Full Code Here

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

        // Other Merfolk creatures you control get +1/+1 and have islandwalk.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true)));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityControlledEffect(new IslandwalkAbility(), Duration.WhileOnBattlefield, filter, true)));
    }
View Full Code Here

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

        // Creatures you control get +3/+3.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(3,3, Duration.WhileOnBattlefield)));
    }
View Full Code Here

    this.color.setGreen(true);
    this.power = new MageInt(1);
    this.toughness = new MageInt(1);
 
    // {1}{G}, {T}, Discard a card: Creatures you control get +1/+1 and gain trample until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.EndOfTurn), new ManaCostsImpl("{1}{G}"));
    ability.addCost(new TapSourceCost());
    ability.addCost(new DiscardTargetCost(new TargetCardInHand()));
        ability.addEffect(new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn, new FilterCreaturePermanent()));
        this.addAbility(ability);
    }
View Full Code Here

        this.supertype.add("Legendary");

        this.color.setWhite(true);

        // Creatures you control get +1/+1.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1,1, Duration.WhileOnBattlefield)));
        // {1}{W}{W}, {T}: Destroy target creature that dealt damage to you this turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(), new ManaCostsImpl("{1}{W}{W}"));
        ability.addCost(new TapSourceCost());
        Target target = new TargetCreaturePermanent(filter);
        ability.addTarget(target);
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.continious.BoostControlledEffect

Copyright © 2018 www.massapicom. 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.